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
I'm implementing a middleware that will set the Content-MD5 header (https://tools.ietf.org/html/rfc1864). This requires the full content of the response body to be read and then hashed. I'm trying to implement this by piping the content stream via through, but the Content-MD5 response header never makes it to the client. What would be the best way to go about this? My attempt is below.
I'm implementing a middleware that will set the
Content-MD5
header (https://tools.ietf.org/html/rfc1864). This requires the full content of the response body to be read and then hashed. I'm trying to implement this by piping the content stream viathrough
, but theContent-MD5
response header never makes it to the client. What would be the best way to go about this? My attempt is below.The text was updated successfully, but these errors were encountered: