HasHeader reports whether the request includes a header with the given key.
(key string)
| 228 | AcceptEncoding() string |
| 229 | // HasHeader reports whether the request includes a header with the given key. |
| 230 | HasHeader(key string) bool |
| 231 | // MediaType returns the MIME type from the Content-Type header without parameters. |
| 232 | MediaType() string |
| 233 | // Charset returns the charset parameter from the Content-Type header. |
no outgoing calls