Documentation ¶
Overview ¶
package http contains the request and response type, which are meant to be exported. the package name is meant to be same with the top level package name so that IDEs and code editors could pick them up
the package also contains some type and value aliases from standard library to avoid annoying imports
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NoBody = http.NoBody
Functions ¶
This section is empty.
Types ¶
type PreparedRequest ¶
type Request ¶
Request is an object holding minimal information a request contains. it should not contain connection related information, such as proxies, context, response, connection info and "Close". it should be handled instead by [Dialer]s.
func (*Request) Prepare ¶
func (r *Request) Prepare() (*PreparedRequest, error)
Click to show internal directories.
Click to hide internal directories.