A notebook extension to trace HTTP(S) requests.
Project description
notebook-httpdbg
notebook-httpdbg is a notebook extension to trace the HTTP requests.
installation
pip install notebook-httpdbg
usage
load the extension in the notebook
%load_ext notebook_httpdbg
trace the HTTP requests for a cell
%%httpdbg
configuration
%%httpdbg --header 500 --body 10000
You can choose the number of character to print for each request.
example
In [1]: %load_ext notebook_httpdbg
In [2]: import requests
In [3]: %%httpdbg
_ = requests.get("https://www.example.com")
Out [3]: - [httpdbg] 1 requests in 0.48 seconds
- 200 GET https://www.example.com/
+ request
- reponse
Content-Encoding: gzip
Accept-Ranges: bytes
Age: 428224
Cache-Control: max-age=604800
Content-Type: text/html; charset=UTF-8
Date: Sun, 05 Nov 2023 08:21:08 GMT
Etag: "3143526347+gzip"
Expires: Sun, 12 Nov 2023 08:21:08 GMT
Last-Modified: Thu, 17 Oct 2019 07:18:26 GMT
Server: ECS (bsb/27DC)
Vary: Accept-Encoding
X-Cache: HIT
Content-Length: 648
<!doctype html>
<html>
<head>
<title>Example Domain</title>
<meta charset="utf-8" />
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style type="text/css">
documentation
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file notebook_httpdbg-0.3.3.tar.gz.
File metadata
- Download URL: notebook_httpdbg-0.3.3.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e344cc8c65d129d2979c2db55fb3a286b0129c48995077ec89a1a770860c98d
|
|
| MD5 |
9c083972cdc25c20d0dce73c48fe2ba8
|
|
| BLAKE2b-256 |
3ea2a2408b73a304423bbe77e55665f10870be76c14fb4f931a3240ec852565d
|
Provenance
The following attestation bundles were made for notebook_httpdbg-0.3.3.tar.gz:
Publisher:
build.yml on cle-b/notebook-httpdbg
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
notebook_httpdbg-0.3.3.tar.gz -
Subject digest:
7e344cc8c65d129d2979c2db55fb3a286b0129c48995077ec89a1a770860c98d - Sigstore transparency entry: 1192040047
- Sigstore integration time:
-
Permalink:
cle-b/notebook-httpdbg@d1f263cfb1f4d0c600ac07435faa3628293b9f80 -
Branch / Tag:
refs/tags/v0.3.3 - Owner: https://github.com/cle-b
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@d1f263cfb1f4d0c600ac07435faa3628293b9f80 -
Trigger Event:
push
-
Statement type:
File details
Details for the file notebook_httpdbg-0.3.3-py3-none-any.whl.
File metadata
- Download URL: notebook_httpdbg-0.3.3-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e252afde13c035f12184aa22b615177925aa35b43840eabac0126b2df1a60616
|
|
| MD5 |
732f8065586054f8f33468503fd53699
|
|
| BLAKE2b-256 |
95d0faab40cae07a15ac62b1879be8535cff8df8a112f3ca72d46f73f5665242
|
Provenance
The following attestation bundles were made for notebook_httpdbg-0.3.3-py3-none-any.whl:
Publisher:
build.yml on cle-b/notebook-httpdbg
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
notebook_httpdbg-0.3.3-py3-none-any.whl -
Subject digest:
e252afde13c035f12184aa22b615177925aa35b43840eabac0126b2df1a60616 - Sigstore transparency entry: 1192040048
- Sigstore integration time:
-
Permalink:
cle-b/notebook-httpdbg@d1f263cfb1f4d0c600ac07435faa3628293b9f80 -
Branch / Tag:
refs/tags/v0.3.3 - Owner: https://github.com/cle-b
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build.yml@d1f263cfb1f4d0c600ac07435faa3628293b9f80 -
Trigger Event:
push
-
Statement type: