grape icon indicating copy to clipboard operation
grape copied to clipboard

Use Rack's HeadersHash instead of {}

Open ericproulx opened this issue 2 years ago • 0 comments

According to Rack's upgrade guide, we should use Rack::Headers instead of a single Hash to manage response headers. Furthermore, we always used a{} to manage headers but we should had used Rack::Utils::HeaderHash.

Anyway, I think it would be better than using Grape.lowercase_headers?

ericproulx avatar Dec 31 '23 13:12 ericproulx