NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #3971 most downloaded on PyPI
HTTP client mock for Python
Last release 5 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 2.3 years
Some releases are documented
notes for 20 of 59 stable releases
Nothing withdrawn
no release was ever pulled
15 years old
59 releases · first in 2011
Bugfix: #435 _ Fallback to WARNING when logging.getLogger().level is None.
Bugfix: #435 Fallback to WARNING when logging.getLogger().level is None.
Bugfix: #430 _ Respect socket timeout.
Bugfix: #430 Respect socket timeout.
One column per quarter.
Bugfix: #426 _ Segmentation fault when running against a large amount of tests with pytest --mypy.
Bugfix: #426 Segmentation fault when running against a large amount of tests with pytest --mypy.
Bugfix: httpretty.disable() injects pyopenssl into mod:urllib3 even if it originally wasn't #417 _
Bugfix: httpretty.disable() injects pyopenssl into urllib3 even if it originally wasn't #417
Bugfix: "Incompatibility with boto3 S3 put_object" #416
Bugfix: "Regular expression for URL -> TypeError: wrap_socket() missing 1 required" #413
Bugfix: "Making requests to non-stadard port throws TimeoutError "#387
Feature: Display mismatched URL within UnmockedError whenever possible. #388 _
Bugfix: Support socket.socketpair() _ . #402 _
Bugfix: Support socket.socketpair() . #402
Bugfix: Prevent exceptions from re-applying monkey patches. #406
Python 3.8 and 3.9 support. #407 _
Python 3.8 and 3.9 support. #407
Fix compatibility with urllib3>=1.26. #410 _
Fix compatibility with urllib3>=1.26. #410
Nothing published for this version
Nothing published for this version
Fix usage with redis and improve overall real-socket passthrough. #271 _.
Drop Python 2 support.
Fix usage with redis and improve overall real-socket passthrough. #271.
Fix TypeError: wrap_socket() missing 1 required positional argument: 'sock' (#393)
Merge pull request #364
Merge pull request #371
Merge pull request #379
Merge pull request #386
Merge pull request #302
Merge pull request #373
Merge pull request #383
Merge pull request #385
Merge pull request #389
Merge pull request #391
Fix simple typo: neighter -> neither.
Updated documentation for register_uri concerning using ports.
Clarify relation between enabled and httprettized in API docs.
Align signature with builtin socket.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Normalized coding style to comform with PEP8 (partially)
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Refactored core.py and increased its unit test coverage to 80%. HTTPretty is slightly more robust now.
Improvements:
Refactored core.py and increased its unit test coverage to 80%. HTTPretty is slightly more robust now.
Bug fixes:
POST requests being called twice #100
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
continue on EAGAIN socket errors: #102 __ by kouk __.
Applied pull requests:
Add a way to match the querystrings: #98 by ametaireau
Use common string case for URIInfo hostname comparison: #95 by mikewaters
Adding parsed_body parameter to simplify checks: #88 by toumorokoshi
Nothing published for this version
Nothing published for this version
Fixing bug of lack of trailing slashes #73 __
New API, no more camel case and everything is available through a simple import:
New API, no more camel case and everything is available through a simple import:
import httpretty
@httpretty.activate
def test_function():
# httpretty.register_uri(...)
# make request...
pass
Re-organized module into submodules
Nothing published for this version
Delegate calls to other methods on socket
Delegate calls to other methods on socket
Normalized header strings
Callbacks are more intelligent now
Normalize urls matching for url quoting
Nothing published for this version
HTTPretty doesn't hang when using other application protocols under a @httprettified decorated test.
HTTPretty doesn't hang when using other application protocols under a @httprettified decorated test.
Ability to know whether HTTPretty is or not enabled through httpretty.is_enabled()
Ability to know whether HTTPretty is or not enabled through httpretty.is_enabled()
Support to multiple methods per registered URL. Thanks @hughsaunders
Support to multiple methods per registered URL. Thanks @hughsaunders
Fixed python 3 support. Thanks @spulec
Fixed python 3 support. Thanks @spulec
Support to register regular expressions to match urls <#matching-regular-expressions>__
Support to register regular expressions to match urls
Body callback suppport
Python 3 support
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →