Path to this page:
./
devel/py-test-httpserver,
HTTP server for pytest
Branch: CURRENT,
Version: 1.1.0,
Package name: py312-test-httpserver-1.1.0,
Maintainer: pkgsrc-usersThis 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.
Master sites:
Filesize: 65.635 KB
Version history: (Expand)
- (2024-08-20) Updated to version: py312-test-httpserver-1.1.0
- (2024-07-22) Updated to version: py311-test-httpserver-1.0.12
- (2024-07-20) Updated to version: py311-test-httpserver-1.0.11
- (2024-02-28) Updated to version: py311-test-httpserver-1.0.10
- (2024-02-14) Updated to version: py311-test-httpserver-1.0.9
- (2023-05-29) Updated to version: py310-test-httpserver-1.0.8
CVS history: (Expand)
2024-02-28 11:31:01 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
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.
|
2024-02-14 17:26:07 by Adam Ciarcinski | Files touched by this commit (3) | |
Log message:
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.
|
2023-05-29 14:27:52 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
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.
|
2023-05-18 10:46:38 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
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.
|
2022-12-06 21:34:05 by Thomas Klausner | Files touched by this commit (4) |
Log message:
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.
|