{ "info": { "author": "Chris Rossi", "author_email": "pylons-devel@googlegroups.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: Repoze Public License", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: WSGI" ], "description": "==========\nguillotine\n==========\n\n`guillotine` is a WSGI middleware which allows for HEAD requests to be properly\nhandled by your WSGI pipeline. `guillotine` is intended to be placed as the\nfirst, or topmost component in a WSGI pipeline, such that all other middelware\nis downstream. For an incoming request, `guillotine` converts the request\nmethod from 'HEAD' to 'GET' before handing the request off to the next\ndownstream middleware or application. `guillotine` then takes responsiblity\nfor discarding the response body before returning to the application server.\n\nFor more information about why you might want to do this see Graham Dumpleton's\narticle, `WSGI issues with HTTP HEAD requests.\n`_\n\n\nUsing `guillotine` with Paster\n------------------------------\n\n`guillotine` provides an entry point for Paster allowing it to be used as a\nmiddleware in a pipeline::\n\n [pipeline:example_app]\n pipeline =\n egg:guillotine#guillotine\n egg:example#some_middleware\n example_app\n\nUsing `guillotine` \"by hand\"\n----------------------------\n\nIf you compose your WSGI pipeline in Python code, `guillotine` can be\nconstructed directly::\n\n from guillotine import Guillotine\n\n middleware = Guillotine(app) # app is some WSGI application or pipeline\n\n\n\n0.1 (2011-05-20)\n----------------\n\n- Initial release.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pylonsproject.org", "keywords": "web wsgi middleware", "license": "BSD-derived (http://www.repoze.org/LICENSE.txt)", "maintainer": null, "maintainer_email": null, "name": "guillotine", "package_url": "https://pypi.org/project/guillotine/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/guillotine/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pylonsproject.org" }, "release_url": "https://pypi.org/project/guillotine/0.1/", "requires_dist": null, "requires_python": null, "summary": "A middleware for proper handling of HEAD requests.", "version": "0.1" }, "last_serial": 792767, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "61732c2e9f04f45022bbada0c4c2407d", "sha256": "d1441b6ed4126daffacd68e876778b9871eb75944f19ab8a02944858752a2ae4" }, "downloads": -1, "filename": "guillotine-0.1.tar.gz", "has_sig": false, "md5_digest": "61732c2e9f04f45022bbada0c4c2407d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2663, "upload_time": "2011-05-20T18:44:13", "url": "https://files.pythonhosted.org/packages/67/fa/40f27b48a552ff7655789bf7dfcf413b55db5981ba8f066ac1dee9ccceef/guillotine-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "61732c2e9f04f45022bbada0c4c2407d", "sha256": "d1441b6ed4126daffacd68e876778b9871eb75944f19ab8a02944858752a2ae4" }, "downloads": -1, "filename": "guillotine-0.1.tar.gz", "has_sig": false, "md5_digest": "61732c2e9f04f45022bbada0c4c2407d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2663, "upload_time": "2011-05-20T18:44:13", "url": "https://files.pythonhosted.org/packages/67/fa/40f27b48a552ff7655789bf7dfcf413b55db5981ba8f066ac1dee9ccceef/guillotine-0.1.tar.gz" } ] }