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
The HTTP/2 server permits setting Trailers mid-Handler without predeclaring them the "Trailer" header by setting "Trailer:Foo" = "Bar". Since a colon isn't allowed in a trailer, that magic prefix is safe.
Do the same for HTTP/1.x. (and thus also in httptest.ResponseRecorder).
The text was updated successfully, but these errors were encountered:
The HTTP/2 server permits setting Trailers mid-Handler without predeclaring them the "Trailer" header by setting "Trailer:Foo" = "Bar". Since a colon isn't allowed in a trailer, that magic prefix is safe.
Do the same for HTTP/1.x. (and thus also in httptest.ResponseRecorder).
The text was updated successfully, but these errors were encountered: