Skip to content

Commit

Permalink
Fix[RFC_7230] RFC-7230 compliance (#103)
Browse files Browse the repository at this point in the history
* Fix[RFC_7230] RFC 7230 compliance

* Fix[RFC_7230] RFC 7230 compliance

Co-authored-by: ariel <carherrera@outlook.es>
  • Loading branch information
Ariel Herrera and Ariel-dono committed Jun 26, 2020
1 parent be1c7e1 commit 8b4a00b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func parseHeaderList(headerList string) []string {
} else {
h = append(h, b)
}
case b == '-' || b == '_' || (b >= '0' && b <= '9'):
case b == '-' || b == '_' || b == '.' || (b >= '0' && b <= '9'):
h = append(h, b)
}

Expand Down

0 comments on commit 8b4a00b

Please sign in to comment.