Closed 18o closed 10 months ago
@18o is attempting to deploy a commit to the sparckles Team on Vercel.
A member of the Team first needs to authorize it.
hey @18o 👋
Apologies for the delayed review here. I am working on a PR here - https://github.com/sparckles/Robyn/pull/704 , which might solve the issue at a more fundamental level. I will merge it and hopefully, the issue should be fixed.
Hey @18o 👋
Thank you for the PR. However, there was a more fundamental flaw in the code. It has been fixed in v0.47.0 😄
Description
This PR fixes #605
global_response_headers
inServer
is a DashMap, which is case sensitive. The default key isContent-Type
can be stay together withcontent-type
inglobal_response_headers
, so when it's extended , bothContent-Type
andcontent-type
are written to http header without fixed sequence, but the browser is case insensitive, so it will take the last value inContent-Type
andcontent-type
, that's why this bug happened.