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 b3f6fd4 commit 7a36ee6Copy full SHA for 7a36ee6
cmd/src/headers.go
@@ -38,7 +38,7 @@ func parseAdditionalHeadersFromEnviron(environ []string) map[string]string {
38
39
for _, h := range splitHeaders {
40
p := strings.SplitN(h, ":", 2)
41
- if len(parts) != 2 || p[1] == "" {
+ if len(p) != 2 || p[1] == "" {
42
continue
43
}
44
0 commit comments