httpdbg 2.1.6__tar.gz → 2.1.8__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.
Files changed (98) hide show
  1. {httpdbg-2.1.6 → httpdbg-2.1.8}/PKG-INFO +5 -4
  2. {httpdbg-2.1.6 → httpdbg-2.1.8}/README.md +4 -3
  3. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/__init__.py +1 -1
  4. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/args.py +4 -4
  5. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/index.htm +1 -1
  6. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/table.css +2 -2
  7. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg.egg-info/PKG-INFO +5 -4
  8. {httpdbg-2.1.6 → httpdbg-2.1.8}/LICENSE +0 -0
  9. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/__main__.py +0 -0
  10. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/env.py +0 -0
  11. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/exception.py +0 -0
  12. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/export.py +0 -0
  13. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/__init__.py +0 -0
  14. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/aiohttp.py +0 -0
  15. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/all.py +0 -0
  16. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/external.py +0 -0
  17. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/fastapi.py +0 -0
  18. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/flask.py +0 -0
  19. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/generic.py +0 -0
  20. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/h2.py +0 -0
  21. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/http.py +0 -0
  22. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/httpx.py +0 -0
  23. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/pytest.py +0 -0
  24. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/record.py +0 -0
  25. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/recordhttp1.py +0 -0
  26. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/recordhttp2.py +0 -0
  27. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/requests.py +0 -0
  28. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/socket.py +0 -0
  29. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/starlette.py +0 -0
  30. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/template_sitecustomize.py +0 -0
  31. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/unittest.py +0 -0
  32. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/urllib3.py +0 -0
  33. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/utils.py +0 -0
  34. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/hooks/uvicorn.py +0 -0
  35. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/http_status_code.py +0 -0
  36. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/initiator.py +0 -0
  37. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/log.py +0 -0
  38. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/mode_console.py +0 -0
  39. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/mode_module.py +0 -0
  40. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/mode_script.py +0 -0
  41. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/preview.py +0 -0
  42. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/records.py +0 -0
  43. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/server.py +0 -0
  44. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/utils.py +0 -0
  45. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/__init__.py +0 -0
  46. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/api.py +0 -0
  47. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/app.py +0 -0
  48. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/api.js +0 -0
  49. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/column.css +0 -0
  50. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/configuration.css +0 -0
  51. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/configuration.js +0 -0
  52. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/detail.css +0 -0
  53. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/favicon.ico +0 -0
  54. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/filter.js +0 -0
  55. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/icons/chevron-direction-top-outline-icon.svg +0 -0
  56. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/icons/download-install-line-icon.svg +0 -0
  57. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/icons/engine-gears-icon.svg +0 -0
  58. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/icons/eye-blind-icon.svg +0 -0
  59. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/icons/eye-icon.svg +0 -0
  60. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/icons/files-papers-outline-icon.svg +0 -0
  61. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/icons/filter-outline-icon.svg +0 -0
  62. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/icons/lock-line-icon.svg +0 -0
  63. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/icons/lock-open-line-icon.svg +0 -0
  64. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/icons/math-multiplication-icon.svg +0 -0
  65. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/icons/push-pin-green-icon.svg +0 -0
  66. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/icons/question-mark-round-line-icon.svg +0 -0
  67. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/icons/recycle-bin-line-icon.svg +0 -0
  68. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/icons/wait-sandclock-icon.svg +0 -0
  69. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/main.js +0 -0
  70. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/mustache.min.js +0 -0
  71. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/render.js +0 -0
  72. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg/webapp/static/style.css +0 -0
  73. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg.egg-info/SOURCES.txt +0 -0
  74. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg.egg-info/dependency_links.txt +0 -0
  75. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg.egg-info/entry_points.txt +0 -0
  76. {httpdbg-2.1.6 → httpdbg-2.1.8}/httpdbg.egg-info/top_level.txt +0 -0
  77. {httpdbg-2.1.6 → httpdbg-2.1.8}/pyproject.toml +0 -0
  78. {httpdbg-2.1.6 → httpdbg-2.1.8}/setup.cfg +0 -0
  79. {httpdbg-2.1.6 → httpdbg-2.1.8}/tests/test_api.py +0 -0
  80. {httpdbg-2.1.6 → httpdbg-2.1.8}/tests/test_cli.py +0 -0
  81. {httpdbg-2.1.6 → httpdbg-2.1.8}/tests/test_context_manager.py +0 -0
  82. {httpdbg-2.1.6 → httpdbg-2.1.8}/tests/test_hook_aiohttp.py +0 -0
  83. {httpdbg-2.1.6 → httpdbg-2.1.8}/tests/test_hook_h2.py +0 -0
  84. {httpdbg-2.1.6 → httpdbg-2.1.8}/tests/test_hook_httpx.py +0 -0
  85. {httpdbg-2.1.6 → httpdbg-2.1.8}/tests/test_hook_pytest.py +0 -0
  86. {httpdbg-2.1.6 → httpdbg-2.1.8}/tests/test_hook_requests.py +0 -0
  87. {httpdbg-2.1.6 → httpdbg-2.1.8}/tests/test_hook_unittest.py +0 -0
  88. {httpdbg-2.1.6 → httpdbg-2.1.8}/tests/test_hook_urllib3.py +0 -0
  89. {httpdbg-2.1.6 → httpdbg-2.1.8}/tests/test_initiator.py +0 -0
  90. {httpdbg-2.1.6 → httpdbg-2.1.8}/tests/test_mode_console.py +0 -0
  91. {httpdbg-2.1.6 → httpdbg-2.1.8}/tests/test_mode_module_pytest.py +0 -0
  92. {httpdbg-2.1.6 → httpdbg-2.1.8}/tests/test_mode_script.py +0 -0
  93. {httpdbg-2.1.6 → httpdbg-2.1.8}/tests/test_multiprocess.py +0 -0
  94. {httpdbg-2.1.6 → httpdbg-2.1.8}/tests/test_preview.py +0 -0
  95. {httpdbg-2.1.6 → httpdbg-2.1.8}/tests/test_pyhttpdbg_server.py +0 -0
  96. {httpdbg-2.1.6 → httpdbg-2.1.8}/tests/test_server.py +0 -0
  97. {httpdbg-2.1.6 → httpdbg-2.1.8}/tests/test_server_hook_fastapi.py +0 -0
  98. {httpdbg-2.1.6 → httpdbg-2.1.8}/tests/test_server_hook_flask.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: httpdbg
3
- Version: 2.1.6
3
+ Version: 2.1.8
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-Expression: Apache-2.0
@@ -194,10 +194,11 @@ options:
194
194
  --force-quit, -q stop the server even if the requests have not been read
195
195
  --export-html EXPORT_HTML
196
196
  the path to the export file
197
- --console run a python console (default)
197
+ --no-banner do not print the banner in the console
198
+ --console run a Python console (default)
198
199
  --module MODULE, -m MODULE
199
- run library module as a script (the next args are passed to pytest as is)
200
- --script SCRIPT run a script (the next args are passed to the script as is)
200
+ run a Python module (like 'python -m'; remaining arguments are passed to the module)
201
+ --script SCRIPT run a Python script (remaining arguments are passed to the script)
201
202
  ```
202
203
 
203
204
  ### web interace
@@ -168,10 +168,11 @@ options:
168
168
  --force-quit, -q stop the server even if the requests have not been read
169
169
  --export-html EXPORT_HTML
170
170
  the path to the export file
171
- --console run a python console (default)
171
+ --no-banner do not print the banner in the console
172
+ --console run a Python console (default)
172
173
  --module MODULE, -m MODULE
173
- run library module as a script (the next args are passed to pytest as is)
174
- --script SCRIPT run a script (the next args are passed to the script as is)
174
+ run a Python module (like 'python -m'; remaining arguments are passed to the module)
175
+ --script SCRIPT run a Python script (remaining arguments are passed to the script)
175
176
  ```
176
177
 
177
178
  ### web interace
@@ -1,4 +1,4 @@
1
- __version__ = "2.1.6"
1
+ __version__ = "2.1.8"
2
2
 
3
3
  __all__ = ["export_html", "httprecord", "HTTPRecords"]
4
4
 
@@ -70,7 +70,7 @@ def read_args(args: list[str]) -> tuple[argparse.Namespace, list[str]]:
70
70
  help="The log level",
71
71
  )
72
72
 
73
- parser.add_argument("--log", type=Path, help="path to the log file.")
73
+ parser.add_argument("--log", type=Path, help="path to the log file")
74
74
 
75
75
  parser.add_argument(
76
76
  "--no-banner",
@@ -81,20 +81,20 @@ def read_args(args: list[str]) -> tuple[argparse.Namespace, list[str]]:
81
81
  actions = parser.add_mutually_exclusive_group()
82
82
 
83
83
  actions.add_argument(
84
- "--console", action="store_true", help="run a python console (default)"
84
+ "--console", action="store_true", help="run a Python console (default)"
85
85
  )
86
86
 
87
87
  actions.add_argument(
88
88
  "--module",
89
89
  "-m",
90
90
  type=str,
91
- help="run library module as a script (the next args are passed to pytest as is)",
91
+ help="run a Python module (like 'python -m'; remaining arguments are passed to the module)",
92
92
  )
93
93
 
94
94
  actions.add_argument(
95
95
  "--script",
96
96
  type=str,
97
- help="run a script (the next args are passed to the script as is)",
97
+ help="run a Python script (remaining arguments are passed to the script)",
98
98
  )
99
99
 
100
100
  return parser.parse_args(httpdbg_args), client_args
@@ -235,7 +235,7 @@
235
235
  data-qa-request="{{id}}">
236
236
  <td class="pin" onclick="event.stopPropagation();">
237
237
  <input class="pin-checkbox" type="checkbox" id="pin{{id}}" onclick="pin_request('{{id}}',this.checked)" {{pin}}>
238
- <label class="pin-icon" for="pin{{id}}"><svg class="icon"><use href="#push-pin-green-icon.svg"></use></svg></label>
238
+ <label class="pin-icon" for="pin{{id}}"><svg class="icon"><use href="#push-pin-green-icon"></use></svg></label>
239
239
  </td>
240
240
  <td class="status"><span title="{{reason}}" data-qa-request-status>{{{status_code_view}}}</span></td>
241
241
  <td class="method"><span title="{{verb}}" data-qa-request-method>{{verb}}</span></td>
@@ -66,7 +66,7 @@
66
66
  opacity: 1 !important;
67
67
  }
68
68
 
69
- .pin-checkbox:checked+label img {
69
+ .pin-checkbox:checked+label svg {
70
70
  transform: rotate(-45deg);
71
71
  }
72
72
 
@@ -154,7 +154,7 @@
154
154
  filter: none !important;
155
155
  }
156
156
 
157
- .collapse-checkbox:checked+label img {
157
+ .collapse-checkbox:checked+label svg {
158
158
  transform: rotate(-90deg);
159
159
  }
160
160
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: httpdbg
3
- Version: 2.1.6
3
+ Version: 2.1.8
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-Expression: Apache-2.0
@@ -194,10 +194,11 @@ options:
194
194
  --force-quit, -q stop the server even if the requests have not been read
195
195
  --export-html EXPORT_HTML
196
196
  the path to the export file
197
- --console run a python console (default)
197
+ --no-banner do not print the banner in the console
198
+ --console run a Python console (default)
198
199
  --module MODULE, -m MODULE
199
- run library module as a script (the next args are passed to pytest as is)
200
- --script SCRIPT run a script (the next args are passed to the script as is)
200
+ run a Python module (like 'python -m'; remaining arguments are passed to the module)
201
+ --script SCRIPT run a Python script (remaining arguments are passed to the script)
201
202
  ```
202
203
 
203
204
  ### web interace
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