Forums

Custom HTTP header empty

Hello,

when I add a custom HTTP header (X-HMAC_DIGEST_HEX) to requests to my bottle app, it appears to not be set when I try to read it in the app. Any idea what could be the issue? Works fine when I run the app locally.

I fixed it momentarily by using the standard header Authorization.

I think the reason for that is that our nginx is configured in a way that it doesn't allow underscores. Try with dashes instead and check if that would solve the issue? See this Stack Overflow post as well.

Thanks, X-HMAC-DIGEST-HEX seems to work.

Excellent, thanks for confirming!