mirror of
https://github.com/golang/go
synced 2024-11-24 22:47:58 -07:00
http: fix erroneous comment
R=r CC=golang-dev https://golang.org/cl/1539042
This commit is contained in:
parent
f81abb9dd8
commit
8334d107c4
@ -70,16 +70,16 @@ type Request struct {
|
|||||||
// A header mapping request lines to their values.
|
// A header mapping request lines to their values.
|
||||||
// If the header says
|
// If the header says
|
||||||
//
|
//
|
||||||
// Accept-Language: en-us
|
|
||||||
// accept-encoding: gzip, deflate
|
// accept-encoding: gzip, deflate
|
||||||
|
// Accept-Language: en-us
|
||||||
// Connection: keep-alive
|
// Connection: keep-alive
|
||||||
//
|
//
|
||||||
// then
|
// then
|
||||||
//
|
//
|
||||||
// Header = map[string]string{
|
// Header = map[string]string{
|
||||||
// "Accept-Encoding": "en-us",
|
// "Accept-Encoding": "gzip, deflate",
|
||||||
// "Accept-Language": "gzip, deflate",
|
// "Accept-Language": "en-us",
|
||||||
// "Connection": "keep-alive"
|
// "Connection": "keep-alive",
|
||||||
// }
|
// }
|
||||||
//
|
//
|
||||||
// HTTP defines that header names are case-insensitive.
|
// HTTP defines that header names are case-insensitive.
|
||||||
|
Loading…
Reference in New Issue
Block a user