We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea563fa commit 166b128Copy full SHA for 166b128
http/header.go
@@ -68,7 +68,7 @@ func (h Header) Del(key string) {
68
func (h Header) AddStandard(dataSize int) {
69
// For better performance, we always close the connection (unless otherwise)
70
h.Add("Connection", "close")
71
- // If there is data, we add the lenght also
+ // If there is data, we add the length also
72
if dataSize > 0 {
73
h.Add("Content-Length", strconv.Itoa(dataSize))
74
}
0 commit comments