Up to [cvs.NetBSD.org] / pkgsrc / devel / py-test-httpserver
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-test-httpserver: updated to 1.1.5 1.1.5 New Features - Add ``bake()`` method to ``HTTPServer`` for creating pre-configured request expectation proxies (``BakedHTTPServer``). This allows sharing common keyword arguments (e.g. ``method``, ``headers``) across multiple ``expect_request()`` calls with last-wins merging semantics.
py-test-httpserver: updated to 1.1.4 1.1.4 New Features - More robust server startup by checking server readiness (disabled by default).
py-test-httpserver: updated to 1.1.3 1.1.3 Bug Fixes - Run server threads with daemon flag, preventing shutdown issues.
py-test-httpserver: updated to 1.1.2 1.1.2 Deprecation Notes - Python versions earlier than 3.9 have been deprecated in order to make the code more type safe. Python 3.8 has reached EOL on 2024-10-07.
py-test-httpserver: updated to 1.1.1 1.1.1 New Features - Add a new ``expect`` method to the ``HTTPServer`` object which allows developers to provide their own request matcher object.
py-test-httpserver: updated to 1.1.0 1.1.0 Bug Fixes - Fixed an issue related to the leak of httpserver state between the tests when httpserver is destructed before the other fixtures.
py-test-httpserver: updated to 1.0.12 1.0.12 Bug Fixes - Fix pytest-httpserver's own tests related to log querying. No functional changes in pytest-httpserver code itself.
py-test-httpserver: updated to 1.0.11 1.0.11 New Features - Hooks API - New methods added to query for matching requests in the log. - Threading support to serve requests in parallel
py-test-httpserver: updated to 1.0.10 1.0.10 New Features - When there's no handler for the request, add more details to the response sent by the server about the request to help debugging. Other Notes - Use ruff for linting. It includes some source code changes which should not introduce functional changes, or API changes.
py-test-httpserver: updated to 1.0.9 1.0.9 New Features - Add ``__repr__`` to ``RequestHandler`` object so when it is compared (eg. with the ``log`` attribute of the server) it will show the matcher parameters.
py-test-httpserver: updated to 1.0.8 1.0.8 Bug Fixes - Version 1.0.7 has been released with incorrect dependencies. This is fixed now.
py-test-httpserver: updated to 1.0.7 1.0.7 ===== Upgrade Notes ------------- - With werkzeug 2.3.x the headers type has been updated to not allow integers as header values. This restriction followed up in pytest-httpserver. Deprecation Notes ----------------- - Python versions earlier than 3.8 have been deprecated in order to support the latest werkzeug. Users using 3.7 or earlier python may use pytest-httpserver with earlier werkzeug versions but tests are no longer run for these python versions. Bug Fixes --------- - Type hinting for header_value_matcher has been fixed. From now, specifying a callable as ``Callable[[str, Optional[str], str], bool]`` will be accepted also. Providing a ``HeaderValueMatcher`` object will be also accepted as before, as it provides the same callable signature. - Fix Werkzeug deprecation warning about ``parse_authorization_header`` call. Replace ``parse_authorization_header`` with ``Authorization.from_header`` as suggested. This fix should not introduce any functional change for the users. - Fix Werkzeug deprecation warning about ``werkzeug.urls.url_decode`` call. This call has been changed to ``urllib.parse.parse_qsl`` in the implementation. This fix should not introduce any functional change for the users.
devel/py-test-httpserver: import py-test-httpserver-1.0.6 This library is designed to help to test http clients without contacting the real http server. In other words, it is a fake http server which is accessible via localhost can be started with the pre-defined expected http requests and their responses.