Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vfaronov/httpolice
Validator for HTTP
https://github.com/vfaronov/httpolice
http lint qa rest standards testing validator
Last synced: 23 days ago
JSON representation
Validator for HTTP
- Host: GitHub
- URL: https://github.com/vfaronov/httpolice
- Owner: vfaronov
- License: other
- Archived: true
- Created: 2016-04-25T02:26:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-06-27T20:20:55.000Z (over 5 years ago)
- Last Synced: 2024-10-04T07:07:53.657Z (2 months ago)
- Topics: http, lint, qa, rest, standards, testing, validator
- Language: Python
- Homepage:
- Size: 1.61 MB
- Stars: 935
- Watchers: 11
- Forks: 20
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- License: LICENSE.txt
Awesome Lists containing this project
- starred-awesome - httpolice - Validator for HTTP (Python)
README
HTTPolice
=========.. status:
.. image:: https://img.shields.io/pypi/v/HTTPolice.svg
:target: https://pypi.org/project/HTTPolice/
.. image:: https://img.shields.io/pypi/pyversions/HTTPolice.svg?
:target: https://pypi.org/project/HTTPolice/
.. image:: https://readthedocs.org/projects/httpolice/badge/?version=stable
:target: https://httpolice.readthedocs.io/
.. image:: https://travis-ci.org/vfaronov/httpolice.svg?branch=master
:target: https://travis-ci.org/vfaronov/httpoliceHTTPolice is a **validator or “linter” for HTTP requests and responses**.
It can spot bad header syntax, inappropriate status codes, and other potential
problems in your HTTP server or client.See `example report`__.
__ https://httpolice.readthedocs.io/page/showcase.html
As a command-line tool, it can read `HAR files`__ or raw HTTP/1.x TCP streams.
It can `integrate with mitmproxy`__ for TLS-encrypted and HTTP/2 traffic.
Or you can use it as a Python (3.4+) library.
There is a `Django integration`__ package and a third-party `Chrome extension`__.__ https://en.wikipedia.org/wiki/.har
__ https://github.com/vfaronov/mitmproxy-httpolice
__ https://github.com/vfaronov/django-httpolice
__ https://chrome.google.com/webstore/detail/httpolice-devtool/hnlnhebgfcfemjaphgbeokdnfpgbnhgnStart with the `quickstart`__.
__ https://httpolice.readthedocs.io/page/quickstart.html
A full `user manual`__ is available.
Also, a `list of all problems`__ HTTPolice can detect.__ https://httpolice.readthedocs.io/
__ https://httpolice.readthedocs.io/page/notices.htmlHTTPolice was partly inspired by `REDbot`__, another QA tool for the Web.
But the approach is different: instead of actively testing your server,
HTTPolice just analyzes anything you feed into it.
Thus, it can be used on requests and responses captured
from a real process or test suite.__ https://redbot.org/
HTTPolice is hosted `on GitHub`__
and released under the MIT license (see ``LICENSE.txt``).
If you want to hack on HTTPolice, check out ``HACKING.rst``.__ https://github.com/vfaronov/httpolice
`BrowserStack`__ kindly provide a free subscription for testing HTTPolice.
__ https://www.browserstack.com/