Examples using... fmt.Sprint()
DumpRequest returns the given request in its HTTP/1.x wire representation. It should only be used by servers to debug client requests. The returned representation is an approximation only; some details of the initial request are lost while parsing it into an http.Request. In particular, the order an...
Sprint formats using the default formats for its operands and returns the resulting string. Spaces are added between operands when neither is a string.
The following forms are permitted: