Merge pull request #294 from CasperGN/master

Same-name-headers are chunked into 1 line when matching
dev
Ice3man 2020-09-15 02:24:30 -07:00 committed by GitHub
commit 497136463b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -37,7 +37,9 @@ func headersToString(headers http.Header) string {
builder.WriteString(value)
if i != len(values)-1 {
builder.WriteRune(',')
builder.WriteRune('\n')
builder.WriteString(header)
builder.WriteString(": ")
}
}