parnurzeal / gorequest

GoRequest -- Simplified HTTP client ( inspired by nodejs SuperAgent )
http://parnurzeal.github.io/gorequest/
MIT License
3.44k stars 414 forks source link

The request header is converted into a snake like naming convention #283

Open maybeTomorrow opened 2 months ago

maybeTomorrow commented 2 months ago

i want to all uppercase header key.

maybeTomorrow commented 2 months ago

func (Header) Set func (h Header) Set(key, value string) Set sets the header entries associated with key to the single element value. It replaces any existing values associated with key. The key is case insensitive; it is canonicalized by textproto.CanonicalMIMEHeaderKey. To use non-canonical keys, assign to the map directly.