# README
httputil
The package contains various helpers related to http protocol
# Functions
AllHTTPMethods contains all available HTTP methods.
No description provided by the author
DrainResponseBody drains the response body and closes it.
DumpRequest to string.
DumpResponseHeadersAndRaw returns http headers and response as strings.
DumpResponseIntoBuffer dumps a http response without allocating a new buffer for the response body.
GetChain if redirects Deprecated: use ResponseChain instead which is more efficient and lazy.
No description provided by the author
NewResponseChain creates a new response chain for a http request with a maximum body size.
# Variables
reasonably high default allowed allocs.
No description provided by the author
# Structs
ChainItem request=>response Deprecated: use ResponseChain instead which is more efficient and lazy.
ResponseChain is a response chain for a http request on every call to previous it returns the previous response if it was redirected.