{ "info": { "author": "Tom Willis", "author_email": "tom.willis@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: Public Domain", "Programming Language :: Python", "Programming Language :: Python :: 3" ], "description": ".. WebOb Toolkit documentation master file, created by\n sphinx-quickstart on Sat Mar 8 09:00:00 2014.\n You can adapt this file completely to your liking, but it should at least\n contain the root `toctree` directive.\n\nWebOb Toolkit: Requests for Aliens!\n===================================\n\nWebOb Toolkit is a tool kit for building HTTP_ clients using WebOb_\nrequest and response objects and `wsgi middleware`_.\n\nYou may already be familiar with Webob_ request and response objects\nif you have experience with a web framework that uses them such as\npyramid_ or WebTest_ .\n\n\nUsage\n-----\n\nHere are some examples of how WebOb Toolkit can be used.\n\n\nA Very Simple HTTP Client\n~~~~~~~~~~~~~~~~~~~~~~~~~\n\nIf you didn't know, WebOb's Request object grew a \"get_response_\" method for\nsending an http request to either a wsgi application, or a url and\nreturning the response. ::\n\n >>> from webob import Request\n >>> str(Request.blank(\"https://google.com\").get_response())\n '301 Moved Permanently\\nLocation: https://www.google.com/\\nContent-Type: text/html; charset=UTF-8\\nDate: Sat, 08 Mar 2014 14:58:59 GMT\\nExpires: Mon, 07 Apr 2014 14:58:59 GMT\\nCache-Control: public, max-age=2592000\\nServer: gws\\nContent-Length: 220\\nX-XSS-Protection: 1; mode=block\\nX-Frame-Options: SAMEORIGIN\\nAlternate-Protocol: 443:quic\\n\\n
\\n