Registry / http-client / bogdanfinn-fhttp

bogdanfinn-fhttp

JSON →
library0.6.8gogounverified

Package fhttp is a fork of the Go standard library net/http package with additional features for HTTP client customization.

go get github.com/bogdanfinn/fhttp
INSTALL
IMPORT
SIG · BOGDANFINN-FHTTP
B
bogdanfinn-fhttp
http-clientgov0.6.8
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.

fhttp
github.com/bogdanfinn/fhttp

Makes a simple HTTP GET request using the forked HTTP client.

package main import ( "fmt" "io/ioutil" "github.com/bogdanfinn/fhttp" ) func main() { resp, err := fhttp.Get("https://example.com") if err != nil { panic(err) } defer resp.Body.Close() body, _ := ioutil.ReadAll(resp.Body) fmt.Println(string(body)) }
Debug
Known issues
gotchaThis is a fork of net/http with custom TLS fingerprinting; may break with Go version updates
fix
Pin to a specific Go version or use the standard library if not needed
affects: *
Upgrade
Version history
0.6.8latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
47 hits · last 30 days
node
40
Resources