httpdbg 1.1.0__tar.gz → 1.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {httpdbg-1.1.0 → httpdbg-1.1.1}/PKG-INFO +3 -2
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/__init__.py +1 -1
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/hooks/http.py +10 -4
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg.egg-info/PKG-INFO +3 -2
- {httpdbg-1.1.0 → httpdbg-1.1.1}/LICENSE +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/README.md +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/__main__.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/args.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/env.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/exception.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/hooks/__init__.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/hooks/aiohttp.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/hooks/all.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/hooks/external.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/hooks/flask.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/hooks/generic.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/hooks/httpx.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/hooks/pytest.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/hooks/requests.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/hooks/socket.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/hooks/template_sitecustomize.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/hooks/unittest.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/hooks/urllib3.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/hooks/utils.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/initiator.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/log.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/mode_console.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/mode_module.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/mode_script.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/preview.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/records.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/server.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/utils.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/__init__.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/api.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/app.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/api.js +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/column.css +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/configuration.css +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/configuration.js +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/detail.css +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/favicon.ico +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/filter.js +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/icons/chevron-direction-top-outline-icon.svg +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/icons/download-install-line-icon.svg +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/icons/engine-gears-icon.svg +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/icons/eye-blind-icon.svg +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/icons/eye-icon.svg +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/icons/files-papers-outline-icon.svg +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/icons/filter-outline-icon.svg +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/icons/information-mark-circle-outline-icon.svg +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/icons/lock-line-icon.svg +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/icons/lock-open-line-icon.svg +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/icons/math-multiplication-icon.svg +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/icons/push-pin-green-icon.svg +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/icons/question-mark-round-line-icon.svg +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/icons/recycle-bin-line-icon.svg +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/icons/wait-sandclock-icon.svg +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/index.htm +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/main.js +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/mustache.min.js +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/render.js +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/style.css +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/table.css +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg.egg-info/SOURCES.txt +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg.egg-info/dependency_links.txt +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg.egg-info/entry_points.txt +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg.egg-info/top_level.txt +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/pyproject.toml +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/setup.cfg +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/tests/test_api.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/tests/test_cli.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/tests/test_context_manager.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/tests/test_hook_aiohttp.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/tests/test_hook_flask.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/tests/test_hook_httpx.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/tests/test_hook_pytest.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/tests/test_hook_requests.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/tests/test_hook_unittest.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/tests/test_hook_urllib3.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/tests/test_initiator.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/tests/test_mode_console.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/tests/test_mode_module_pytest.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/tests/test_mode_script.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/tests/test_multiprocess.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/tests/test_preview.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/tests/test_pyhttpdbg_server.py +0 -0
- {httpdbg-1.1.0 → httpdbg-1.1.1}/tests/test_server.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: httpdbg
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.1
|
|
4
4
|
Summary: A very simple tool to debug HTTP(S) client and server requests.
|
|
5
5
|
Author-email: cle-b <cle@tictac.pm>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -23,6 +23,7 @@ Classifier: Topic :: Utilities
|
|
|
23
23
|
Requires-Python: >=3.9
|
|
24
24
|
Description-Content-Type: text/markdown
|
|
25
25
|
License-File: LICENSE
|
|
26
|
+
Dynamic: license-file
|
|
26
27
|
|
|
27
28
|
# httpdbg
|
|
28
29
|
|
|
@@ -11,11 +11,17 @@ from httpdbg.records import HTTPRecords
|
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
def set_hook_for_http_server_handle_one_request(records: HTTPRecords, method: Callable):
|
|
14
|
-
def hook(*args, **kwargs):
|
|
15
14
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
def hook(self, *args, **kwargs):
|
|
16
|
+
from httpdbg.webapp.app import HttpbgHTTPRequestHandler
|
|
17
|
+
|
|
18
|
+
if isinstance(self, HttpbgHTTPRequestHandler):
|
|
19
|
+
# this request is for the httpdbg web server itself, we do not have to create a group
|
|
20
|
+
ret = method(self, *args, **kwargs)
|
|
21
|
+
else:
|
|
22
|
+
# the group label/full_label will be updated when the endpoint method will be called
|
|
23
|
+
with httpdbg_group(records, "one request", ""):
|
|
24
|
+
ret = method(self, *args, **kwargs)
|
|
19
25
|
|
|
20
26
|
return ret
|
|
21
27
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: httpdbg
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.1
|
|
4
4
|
Summary: A very simple tool to debug HTTP(S) client and server requests.
|
|
5
5
|
Author-email: cle-b <cle@tictac.pm>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -23,6 +23,7 @@ Classifier: Topic :: Utilities
|
|
|
23
23
|
Requires-Python: >=3.9
|
|
24
24
|
Description-Content-Type: text/markdown
|
|
25
25
|
License-File: LICENSE
|
|
26
|
+
Dynamic: license-file
|
|
26
27
|
|
|
27
28
|
# httpdbg
|
|
28
29
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/icons/chevron-direction-top-outline-icon.svg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/icons/information-mark-circle-outline-icon.svg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{httpdbg-1.1.0 → httpdbg-1.1.1}/httpdbg/webapp/static/icons/question-mark-round-line-icon.svg
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|