fullstorydev / fullstorydev/grpcurl
Headers are lowercased
- Dominant language
- Go
- Stars
- 12.8k
- Forks
- 580
- Avg merge
- 1h 8m
- Merged PRs (30d)
- 5
Description
Hi,
I try to provide header with `-H "isDebug: true"` but header name is lowercased with `headerName := strings.ToLower(strings.TrimSpace(pieces[0]))` during [MetadataFromHeaders](https://github.com/fullstorydev/grpcurl/blame/46c38b351a226b11ec734b7ac2454065aa496693/grpcurl.go#L156C4-L156C63)
Any reason for this behavior?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in grpcurl.go at MetadataFromHeaders and the referenced strings.ToLower call. Trace how the -H value is parsed and inspect nearby project guidance for expected header casing. Done means the behavior's rationale is established and the issue has a clear decision about whether any change is needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100