You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was wondering if rack-mini-profiler intends to be compliant with Rack linter (spec 3), and to HTTP 2 standards, which asks to make HTTP Headers lower-case (although they are "compared in a case-insensitive fashion".. don't ask me why).
Am I missing something about rack settings that could disable this rule ? Anyway, it would be nice to make rack mini profiler compliant.
Actually, in order to make rack-mini-profiler to work, I have to patch Rack method check_headers and use Rack Headers class to format rack mini profiler headers (and so all headers from my app, although they are compliant) to avoid this error.
class ::Rack::Lint::Wrapperaliascheck_headers_origcheck_headersdefcheck_headers(headers)headers=Rack::Headers.new(headers)check_headers_orig(headers)endend
Hi, I was wondering if rack-mini-profiler intends to be compliant with Rack linter (spec 3), and to HTTP 2 standards, which asks to make HTTP Headers lower-case (although they are "compared in a case-insensitive fashion".. don't ask me why).
Error 500:
Am I missing something about rack settings that could disable this rule ? Anyway, it would be nice to make rack mini profiler compliant.
Actually, in order to make rack-mini-profiler to work, I have to patch Rack method check_headers and use Rack Headers class to format rack mini profiler headers (and so all headers from my app, although they are compliant) to avoid this error.
HTTP 2 Standards for lower-case headers:
https://www.rfc-editor.org/rfc/rfc7540#section-8.1.2
Origin issue for lower-case headers of Rack:
rack/rack#1592
The text was updated successfully, but these errors were encountered: