Custom http header not reaching the application

terjetyl's Avatar


15 Jul, 2012 11:01 PM

I am adding a custom http header ("TOKEN_HEADER") using jquery for some ajax requests. This is working perfectly ok locally but not on my deployed site. Through logging I can see that this key does not get through to the server. Are some of the headers stripped away?

  1. 1 Posted by terjetyl on 16 Jul, 2012 05:11 PM

    terjetyl's Avatar

    Changed the token key to "authtoken" and then it passed.

  2. Support Staff 2 Posted by friism on 16 Jul, 2012 05:15 PM

    friism's Avatar

    That's pretty strange - we're not blocking request headers on purpose, but we'll take a look.


  3. 3 Posted by Niels on 18 Jul, 2012 11:14 AM

    Niels's Avatar

    Just to follow up on this. At the moment we do not support underscores in headers and that was why your first custom http header did not go through. So as long as you do not use underscores, you are good.

  4. Niels closed this discussion on 18 Jul, 2012 11:14 AM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac