{ "info": { "author": "Ruslan Spivak", "author_email": "ruslan.spivak@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP" ], "description": "::\n\n _ _ _____ _____ ____ ____ ___ ____ _____\n | | | |_ _|_ _| _ \\ / ___/ _ \\| _ \\| ____|\n | |_| | | | | | | |_) | | | | | | | | | _|\n | _ | | | | | | __/| |__| |_| | |_| | |___\n |_| |_| |_| |_| |_| \\____\\___/|____/|_____|\n\n\n`httpcode` is a little utility that explains the meaning of an HTTP\nstatus code on the command line.\n\n`http://httpcode.readthedocs.org `_\n\nInstallation\n------------\n\n::\n\n $ [sudo] pip install httpcode\n\nThere is also an official DEB package available at\n`http://packages.debian.org/sid/httpcode `_\n\n\nUsage\n-----\n\nExplain 405 status code\n\n::\n\n $ hc 405\n Status code 405\n Message: Method Not Allowed\n Code explanation: Specified method is invalid for this resource.\n\nOr 418 status code :)\n\n::\n\n $ hc 418\n Status code 418\n Message: I'm a teapot\n Code explanation: The HTCPCP server is a teapot\n\nList all codes\n\n::\n\n $ hc\n Status code 100\n Message: Continue\n Code explanation: Request received, please continue\n\n Status code 101\n Message: Switching Protocols\n Code explanation: Switching to new protocol; obey Upgrade header\n\n Status code 200\n Message: OK\n Code explanation: Request fulfilled, document follows\n\n ...\n\nSearch code(s) by description (case-insensitive)\n\n::\n\n $ hc -s too\n Status code 413\n Message: Request Entity Too Large\n Code explanation: Entity is too large.\n\n Status code 414\n Message: Request-URI Too Long\n Code explanation: URI is too long.\n\nFilter codes with a regex\n\n::\n\n $ hc 30[12]\n Status code 301\n Message: Moved Permanently\n Code explanation: Object moved permanently -- see URI list\n\n Status code 302\n Message: Found\n Code explanation: Object moved temporarily -- see URI list\n\nUse an 'x' for any digit\n\n::\n\n $ hc 1xx\n Status code 100\n Message: Continue\n Code explanation: Request received, please continue\n\n Status code 101\n Message: Switching Protocols\n Code explanation: Switching to new protocol; obey Upgrade header\n\nShow help\n\n::\n\n $ hc -h\n Usage: hc [code] [options]\n\n code may contain regular expression or use 'x' to denote any digit\n code examples: 418, 30[12], 3.*, 1xx\n\n Without parameters lists all available\n HTTP status codes and their description\n\n\n Options:\n -h, --help show this help message and exit\n -s SEARCH, --search=SEARCH\n Search for a code by name or description. Search text\n may contain regular expressions.\n\nRoadmap\n-------\n\nAdd more codes\n\n\nChange History\n==============\n\n0.6 (2017-04-03)\n----------------\n- Use argparse instead of optparse\n- Declare as Python 2.7+ and Python 3 compatible\n\n0.5 (2011-12-30)\n----------------\n- Colorize HTTP codes\n\n0.4 (2011-12-27)\n----------------\n- regex and 'x' can be used as part of an HTTP code\n https://github.com/rspivak/httpcode/pull/6\n\n0.3 (2011-12-22)\n----------------\n- Add -s/--search option to search for code by description\n https://github.com/rspivak/httpcode/pull/3\n\n0.2 (2011-12-21)\n----------------\n- Add HTTP code 418 (I'm a teapot): https://github.com/rspivak/httpcode/pull/2\n- Bugfix: https://github.com/rspivak/httpcode/issues/1\n\n0.1 (2011-12-21)\n----------------\n- Initial release\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/rspivak/httpcode", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "httpcode", "package_url": "https://pypi.org/project/httpcode/", "platform": "", "project_url": "https://pypi.org/project/httpcode/", "project_urls": { "Homepage": "http://github.com/rspivak/httpcode" }, "release_url": "https://pypi.org/project/httpcode/0.6/", "requires_dist": [ "colorama" ], "requires_python": "", "summary": "httpcode - explain HTTP status code", "version": "0.6" }, "last_serial": 2749798, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "a321c1df3197ffa3f275039eaf10556d", "sha256": "a316e13fa1f21a92f6cc4c50805f76aef6db26a403d62d803ecb507655a955fa" }, "downloads": -1, "filename": "httpcode-0.1.zip", "has_sig": false, "md5_digest": "a321c1df3197ffa3f275039eaf10556d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6476, "upload_time": "2011-12-21T21:31:28", "url": "https://files.pythonhosted.org/packages/4e/90/b82babf61945c867d43f75fb28301c5284090bb08c2dd483b09418831c32/httpcode-0.1.zip" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "ab54ee3a2258d913c2368638bc3133f0", "sha256": "88c395b4295bd42fd23ab22281c9272a14989a2171a95e1b37ed4561d855e09a" }, "downloads": -1, "filename": "httpcode-0.2.zip", "has_sig": false, "md5_digest": "ab54ee3a2258d913c2368638bc3133f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7858, "upload_time": "2011-12-21T22:34:49", "url": "https://files.pythonhosted.org/packages/dd/96/293c8fbbdf22515994ca699b77325c944e563f1703d728417e379ccc1718/httpcode-0.2.zip" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "e85ec2e9b2254d6fe7ee9232f93234b4", "sha256": "7d73d7fe699c1a8c9c9a1b4d7ed53e3d629b386173b8ab58d63ef1cf3be74fe5" }, "downloads": -1, "filename": "httpcode-0.3.zip", "has_sig": false, "md5_digest": "e85ec2e9b2254d6fe7ee9232f93234b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8804, "upload_time": "2011-12-23T01:04:01", "url": "https://files.pythonhosted.org/packages/d9/3b/6307aaeb17a4c8cd7ba0fec413edbbc4e6f29d29c7d4c93985378f0955ff/httpcode-0.3.zip" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "0ee324651ada3bad4c67e64a56d3f5f5", "sha256": "ff260918b318853e7f2270545de81c11f66e07272dac37f5e8640c5c8a839677" }, "downloads": -1, "filename": "httpcode-0.4.zip", "has_sig": false, "md5_digest": "0ee324651ada3bad4c67e64a56d3f5f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9775, "upload_time": "2011-12-27T20:04:59", "url": "https://files.pythonhosted.org/packages/ad/00/a8d8a112dcdb46ed27b3609e394271f583641ae7809b61e7a2efe01667ec/httpcode-0.4.zip" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "f61404f21740b2319c4be1232df4d9f7", "sha256": "0cf33f1869373277877283562f2e7ebd612c604ed511227f22b898c9a7692480" }, "downloads": -1, "filename": "httpcode-0.5.zip", "has_sig": false, "md5_digest": "f61404f21740b2319c4be1232df4d9f7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9956, "upload_time": "2011-12-30T08:44:58", "url": "https://files.pythonhosted.org/packages/5b/25/349eb320a7d7ede2faaa49ae4fc0ed117af59f8916e202f42201a86e9fa6/httpcode-0.5.zip" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "c2ee6994cb3679512d89a9fbe1cb4ab4", "sha256": "250ca597fe981f309646a6295d10296140dab7964294a202954553c32ba1f9c4" }, "downloads": -1, "filename": "httpcode-0.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c2ee6994cb3679512d89a9fbe1cb4ab4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8682, "upload_time": "2017-04-03T15:30:11", "url": "https://files.pythonhosted.org/packages/3e/12/68d75db42adf2751c189d08897eed294cc8e208a25d38b9633686cbefe83/httpcode-0.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b5ba8ff23b99bc8623d3776ad4bbade5", "sha256": "144af6433bd7f75bb549884dbefba4d81add4e26bd88fbdc2330805c5403bbc2" }, "downloads": -1, "filename": "httpcode-0.6.tar.gz", "has_sig": false, "md5_digest": "b5ba8ff23b99bc8623d3776ad4bbade5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6511, "upload_time": "2017-04-03T15:30:13", "url": "https://files.pythonhosted.org/packages/ff/50/0c40beb739fbccabc9be45a924cacd71caee3f4f008f6c321fcb80fd5298/httpcode-0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c2ee6994cb3679512d89a9fbe1cb4ab4", "sha256": "250ca597fe981f309646a6295d10296140dab7964294a202954553c32ba1f9c4" }, "downloads": -1, "filename": "httpcode-0.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c2ee6994cb3679512d89a9fbe1cb4ab4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 8682, "upload_time": "2017-04-03T15:30:11", "url": "https://files.pythonhosted.org/packages/3e/12/68d75db42adf2751c189d08897eed294cc8e208a25d38b9633686cbefe83/httpcode-0.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b5ba8ff23b99bc8623d3776ad4bbade5", "sha256": "144af6433bd7f75bb549884dbefba4d81add4e26bd88fbdc2330805c5403bbc2" }, "downloads": -1, "filename": "httpcode-0.6.tar.gz", "has_sig": false, "md5_digest": "b5ba8ff23b99bc8623d3776ad4bbade5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6511, "upload_time": "2017-04-03T15:30:13", "url": "https://files.pythonhosted.org/packages/ff/50/0c40beb739fbccabc9be45a924cacd71caee3f4f008f6c321fcb80fd5298/httpcode-0.6.tar.gz" } ] }