Registry / http-client / henvic-httpretty

henvic-httpretty

JSON →
library0.1.4gogounverified

Package httpretty prints your HTTP requests pretty on your terminal screen for debugging and inspection.

go get github.com/henvic/httpretty
INSTALL
IMPORT
SIG · HENVIC-HTTPRETTY
H
henvic-httpretty
http-clientgov0.1.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

httpretty
github.com/henvic/httpretty

Logs HTTP requests and responses to the terminal.

package main import ( "net/http" "github.com/henvic/httpretty" ) func main() { logger := &httpretty.Logger{ Time: true, TLS: true, RequestHeader: true, ResponseHeader: true, } http.DefaultClient.Transport = logger.RoundTripper() resp, _ := http.Get("https://example.com") defer resp.Body.Close() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
40 hits · last 30 days
node
36
OpenAI (training)
1
Resources
henvic-httpretty — go get henvic-httpretty · libregistry