ea4888d48f- update to 1.1.0: * Fixed an issue related to the leak of httpserver state between the tests when httpserver is destructed before the other fixtures. #352 * Fix pytest-httpserver's own tests related to log querying. No functional changes in pytest-httpserver code itself. #345 * New methods added to query for matching requests in the log. * Threading support to serve requests in parallel Optional[str], str], bool]`` will be accepted also.Dirk Mueller2024-08-18 17:18:39 +00:00
516fbb6633- update to 1.0.10: * When there's no handler for the request, add more details to the response sent by the server about the request to help debugging. * Use ruff for linting. It includes some source code changes which should not introduce functional changes, or API changes. * Add __repr__ to RequestHandler object so when it is compared (eg. with the log attribute of the server) it will show the matcher parameters.Dirk Mueller2024-03-01 10:19:42 +00:00
8dc1512e52- update to 1.0.7: * 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. * Python versions earlier than 3.8 have been deprecated in order to support the latest werkzeug. * 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.Dirk Mueller2023-05-22 21:20:09 +00:00
d836f8748c- update to 1.0.6: * Add a new way of running tests with the blocking mode. In this mode, the http server is synchronized to the main thread and the client code is run in a separate thread. * Python version classifier updated in pyproject.toml (which updates pypi also)Dirk Mueller2023-05-04 22:28:27 +00:00
a48cb77794- Update to 0.3.3: * Besides bytes and string, dict and MultiDict objects can be specified as query_string * Add more files to source distribution (sdist). It now contains tests, assets, examples and other files
Tomáš Chvátal
2019-08-01 15:06:51 +00:00