package httputil

import "github.com/bitrise-io/go-utils/httputil"

Index

Functions

func IsUserFixable

func IsUserFixable(statusCode int) bool

IsUserFixable returns true if statusCode is a value that is deemed retryable, i.e. something that could be fixed by the user.

func PrintRequest

func PrintRequest(request *http.Request) error

PrintRequest ...

func PrintResponse

func PrintResponse(response *http.Response) error

PrintResponse ...

Source Files

httputil.go

Version
v1.0.15 (latest)
Published
May 13, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
2 months ago

Tools for package owners.