Repository navigation
Conversation
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
|
Hi @vlidholt The questionIs this an acceptable solution? (Adding a Then the problem.Upon testing this... It works well with When the browser sends the request it actually overrides the Not sure what I'm missing... {
'my-header1': 'my-value1',
'my-header2': 'my-value2',
}But the the keys here are then set as values on the
|
|
Thanks a lot for this contribution! I'm closing this as the functionality is incorporated in this PR, please let me know if it still doesn't help with your use case: |

This adds the feature to the client where we can add custom headers to all http requests.
This will help in the case where the server is deployed behind a reverse proxy that checks some headers (eg. Authorization)
Added
HeaderManagerto handle the addition of custom headers to all requestsThis has been discussed here #663
Pre-launch Checklist
///), and made sure that the documentation follows the same style as other Serverpod documentation. I checked spelling and grammar.If you need help, consider asking for advice on the discussion board.
Breaking changes
None