Socket
Socket
Sign inDemoInstall

HTTPolice

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

HTTPolice

Validator for HTTP


Maintainers
1

HTTPolice

HTTPolice 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/hnlnhebgfcfemjaphgbeokdnfpgbnhgn

Start 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.html

HTTPolice 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/

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc