go/src/net/http/http.go

type incomparable

const maxInt64

var aLongTimeAgo

var omitBundledHTTP2

type contextKey

func (k *contextKey) String() string {}

// Given a string of the form "host", "host:port", or "[ipv6::address]:port",
// return true if the string includes a port.
func hasPort(s string) bool {}

// removeEmptyPort strips the empty port in ":port" to ""
// as mandated by RFC 3986 Section 6.2.3.
func removeEmptyPort(host string) string {}

func isNotToken(r rune) bool {}

// stringContainsCTLByte reports whether s contains any ASCII control character.
func stringContainsCTLByte(s string) bool {}

func hexEscapeNonASCII(s string) string {}

var NoBody

type noBody

func (noBody) Read([]byte) (int, error)         {}

func (noBody) Close() error                     {}

func (noBody) WriteTo(io.Writer) (int64, error) {}

var _

var _

type PushOptions

type Pusher

type HTTP2Config