Contents

httpretty 1.1.4

0

HTTP client mock for Python

HTTP client mock for Python

Stars: 2092, Watchers: 2092, Forks: 274, Open Issues: 122

The gabrielfalcao/HTTPretty repo was created 13 years ago and the last code push was 2 weeks ago.
The project is very popular with an impressive 2092 github stars!

How to Install httpretty

You can install httpretty using pip

pip install httpretty

or add it to a project with poetry

poetry add httpretty

Package Details

Author
Gabriel Falcao
License
MIT
Homepage
https://httpretty.readthedocs.io/en/latest/
PyPi:
https://pypi.org/project/httpretty/
Documentation:
https://httpretty.readthedocs.io/en/latest/
GitHub Repo:
https://github.com/gabrielfalcao/httpretty

Classifiers

  • Internet/WWW/HTTP
  • Software Development/Testing
No  httpretty  pypi packages just yet.

Errors

A list of common httpretty errors.

Code Examples

Here are some httpretty code examples and snippets.

GitHub Issues

The httpretty package has 122 open issues on GitHub

  • 1.1.4: pytest is failing because missing context and port fixtures and some pytest warnings

See more issues on GitHub

Related Packages & Articles

pytest-socket 0.7.0

A plugin to use with Pytest to disable or restrict socket calls during tests to ensure network calls are prevented.

hstspreload 2024.4.1

The hstspreload Python package provides a way to interact with the Chromium HSTS preload list, which is a list of sites that are hardcoded to be HTTPS only for enhanced security. This package allows users to check if a host is on this list, indicating that it should only be accessed via HTTPS. It is updated monthly, but can be manually updated if necessary.