httpdbg 2.1.0__tar.gz → 2.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-2.1.0 → httpdbg-2.1.1}/PKG-INFO +1 -1
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/__init__.py +1 -1
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/index.htm +38 -3
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/render.js +15 -3
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg.egg-info/PKG-INFO +1 -1
- {httpdbg-2.1.0 → httpdbg-2.1.1}/LICENSE +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/README.md +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/__main__.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/args.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/env.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/exception.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/export.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/__init__.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/aiohttp.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/all.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/external.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/fastapi.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/flask.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/generic.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/h2.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/http.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/httpx.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/pytest.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/record.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/recordhttp1.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/recordhttp2.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/requests.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/socket.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/starlette.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/template_sitecustomize.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/unittest.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/urllib3.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/utils.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/hooks/uvicorn.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/http_status_code.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/initiator.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/log.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/mode_console.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/mode_module.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/mode_script.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/preview.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/records.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/server.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/utils.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/__init__.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/api.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/app.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/api.js +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/column.css +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/configuration.css +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/configuration.js +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/detail.css +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/favicon.ico +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/filter.js +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/icons/chevron-direction-top-outline-icon.svg +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/icons/download-install-line-icon.svg +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/icons/engine-gears-icon.svg +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/icons/eye-blind-icon.svg +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/icons/eye-icon.svg +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/icons/files-papers-outline-icon.svg +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/icons/filter-outline-icon.svg +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/icons/information-mark-circle-outline-icon.svg +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/icons/lock-line-icon.svg +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/icons/lock-open-line-icon.svg +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/icons/math-multiplication-icon.svg +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/icons/push-pin-green-icon.svg +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/icons/question-mark-round-line-icon.svg +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/icons/recycle-bin-line-icon.svg +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/icons/wait-sandclock-icon.svg +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/main.js +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/mustache.min.js +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/style.css +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg/webapp/static/table.css +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg.egg-info/SOURCES.txt +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg.egg-info/dependency_links.txt +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg.egg-info/entry_points.txt +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/httpdbg.egg-info/top_level.txt +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/pyproject.toml +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/setup.cfg +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/tests/test_api.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/tests/test_cli.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/tests/test_context_manager.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/tests/test_hook_aiohttp.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/tests/test_hook_h2.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/tests/test_hook_httpx.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/tests/test_hook_pytest.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/tests/test_hook_requests.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/tests/test_hook_unittest.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/tests/test_hook_urllib3.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/tests/test_initiator.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/tests/test_mode_console.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/tests/test_mode_module_pytest.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/tests/test_mode_script.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/tests/test_multiprocess.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/tests/test_preview.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/tests/test_pyhttpdbg_server.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/tests/test_server.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/tests/test_server_hook_fastapi.py +0 -0
- {httpdbg-2.1.0 → httpdbg-2.1.1}/tests/test_server_hook_flask.py +0 -0
|
@@ -8,6 +8,22 @@
|
|
|
8
8
|
|
|
9
9
|
<link rel="shortcut icon" href="static/favicon.ico">
|
|
10
10
|
|
|
11
|
+
<style>
|
|
12
|
+
.compact-mode {
|
|
13
|
+
display: none !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@media (max-width: 900px) {
|
|
17
|
+
.default-mode {
|
|
18
|
+
display: none !important;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.compact-mode {
|
|
22
|
+
display: block !important;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
</style>
|
|
26
|
+
|
|
11
27
|
$**PRELOAD_ICONS**$
|
|
12
28
|
|
|
13
29
|
<link rel="stylesheet" href="static/style.css">
|
|
@@ -28,7 +44,7 @@
|
|
|
28
44
|
</head>
|
|
29
45
|
|
|
30
46
|
<body>
|
|
31
|
-
<header>
|
|
47
|
+
<header class="default-mode">
|
|
32
48
|
<nav id="navbar">
|
|
33
49
|
<div class="menu-left">
|
|
34
50
|
<button id="trash" type="button" onclick="clean(true)" title="Delete all unpinned requests.">
|
|
@@ -126,7 +142,7 @@
|
|
|
126
142
|
</nav>
|
|
127
143
|
</header>
|
|
128
144
|
|
|
129
|
-
<div id="help">
|
|
145
|
+
<div id="help" class="default-mode">
|
|
130
146
|
<h4>About</h4>
|
|
131
147
|
httpdbg v$**HTTPDBG_VERSION**$
|
|
132
148
|
<br>
|
|
@@ -163,7 +179,7 @@
|
|
|
163
179
|
<br>
|
|
164
180
|
</div>
|
|
165
181
|
|
|
166
|
-
<div class="grid-container">
|
|
182
|
+
<div class="grid-container default-mode">
|
|
167
183
|
|
|
168
184
|
<div class="grid-column grid-column-left">
|
|
169
185
|
|
|
@@ -430,6 +446,25 @@
|
|
|
430
446
|
</table>
|
|
431
447
|
</div>
|
|
432
448
|
</div>
|
|
449
|
+
|
|
450
|
+
<div class="compact-mode">
|
|
451
|
+
<b><i>You're seeing a simplified view of the HTTP traces report. Make your window larger to see the full
|
|
452
|
+
interface.</i></b>
|
|
453
|
+
<br>
|
|
454
|
+
<ul id="requests-list-compact-mode">
|
|
455
|
+
<script id="template_request_compact_mode" type="x-tmpl-mustache">
|
|
456
|
+
<li id="request-compact-mode-{{id}}">
|
|
457
|
+
{{verb}} {{{status_code_view}}} {{netloc}}{{urlext}}
|
|
458
|
+
</li>
|
|
459
|
+
</script>
|
|
460
|
+
</ul>
|
|
461
|
+
|
|
462
|
+
<b><i>You're seeing a simplified view of the HTTP traces report. Make your window larger to see the full
|
|
463
|
+
interface.</i></b>
|
|
464
|
+
<br>
|
|
465
|
+
httpdbg v$**HTTPDBG_VERSION**$
|
|
466
|
+
</div>
|
|
467
|
+
|
|
433
468
|
$**EXPORT**$
|
|
434
469
|
<script>
|
|
435
470
|
load_config_from_url(true);
|
|
@@ -14,6 +14,7 @@ async function refresh_resquests() {
|
|
|
14
14
|
|
|
15
15
|
for (const [request_id, request] of Object.entries(global.requests)) {
|
|
16
16
|
if (request.to_refresh) {
|
|
17
|
+
// refresh the default mode
|
|
17
18
|
var elt = document.getElementById("request-" + request.id);
|
|
18
19
|
|
|
19
20
|
request.title = request.url;
|
|
@@ -24,7 +25,7 @@ async function refresh_resquests() {
|
|
|
24
25
|
|
|
25
26
|
let groupby = get_groupby(global.groupby, request);
|
|
26
27
|
|
|
27
|
-
if(groupby) { // the group may be missing if the clean list is executed in parrallel
|
|
28
|
+
if (groupby) { // the group may be missing if the clean list is executed in parrallel
|
|
28
29
|
request.groupby_id = groupby.id;
|
|
29
30
|
|
|
30
31
|
var rendered = Mustache.render(template_request, request);
|
|
@@ -39,9 +40,20 @@ async function refresh_resquests() {
|
|
|
39
40
|
} else {
|
|
40
41
|
elt.innerHTML = rendered;
|
|
41
42
|
};
|
|
42
|
-
|
|
43
|
-
request.to_refresh = false;
|
|
43
|
+
|
|
44
|
+
request.to_refresh = false;
|
|
44
45
|
}
|
|
46
|
+
|
|
47
|
+
// refresh the compact mode
|
|
48
|
+
var elt_compact_mode = document.getElementById("request-compact-mode" + request.id);
|
|
49
|
+
var template_request_compact_mode = document.getElementById("template_request_compact_mode").innerHTML;
|
|
50
|
+
var rendered_compact_mode = Mustache.render(template_request_compact_mode, request);
|
|
51
|
+
if (!elt_compact_mode) {
|
|
52
|
+
var elt_requests_list_compact_mode = document.getElementById("requests-list-compact-mode");
|
|
53
|
+
elt_requests_list_compact_mode.insertAdjacentHTML("beforeend", rendered_compact_mode);
|
|
54
|
+
} else {
|
|
55
|
+
elt_compact_mode.innerHTML = rendered_compact_mode;
|
|
56
|
+
};
|
|
45
57
|
}
|
|
46
58
|
};
|
|
47
59
|
filter_requests_count();
|
|
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
|
|
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-2.1.0 → httpdbg-2.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-2.1.0 → httpdbg-2.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-2.1.0 → httpdbg-2.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
|