Skip to main content

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

https://httpdbg.readthedocs.io/en/latest/notebook/

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

notebook_httpdbg-0.3.3.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

notebook_httpdbg-0.3.3-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

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

Hashes for notebook_httpdbg-0.3.3.tar.gz
Algorithm Hash digest
SHA256 7e344cc8c65d129d2979c2db55fb3a286b0129c48995077ec89a1a770860c98d
MD5 9c083972cdc25c20d0dce73c48fe2ba8
BLAKE2b-256 3ea2a2408b73a304423bbe77e55665f10870be76c14fb4f931a3240ec852565d

See more details on using hashes here.

Provenance

The following attestation bundles were made for notebook_httpdbg-0.3.3.tar.gz:

Publisher: build.yml on cle-b/notebook-httpdbg

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file notebook_httpdbg-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for notebook_httpdbg-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e252afde13c035f12184aa22b615177925aa35b43840eabac0126b2df1a60616
MD5 732f8065586054f8f33468503fd53699
BLAKE2b-256 95d0faab40cae07a15ac62b1879be8535cff8df8a112f3ca72d46f73f5665242

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.3.3 This release

2 files

0.3.2

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.3

2 files

0.1.1

2 files

0.1.0

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page