Apache server not allowing Authorization Header in http request
up vote
1
down vote
favorite
I have discovered a strange problem.
I have to send JWT token in the http post request, all this time it was working when I was testing locally running Python web server that accepts post request but now that when I have uploaded my code to server I discovered that Authorization Header is not getting passed.
So earlier I thought it is the length of jwt but to my surprise if I remove last letter n from Authorization the header gets passed to server.
Is it the Apache server blocking Authorization Header? Because locally it was working.
apache http-headers authorization
add a comment |
up vote
1
down vote
favorite
I have discovered a strange problem.
I have to send JWT token in the http post request, all this time it was working when I was testing locally running Python web server that accepts post request but now that when I have uploaded my code to server I discovered that Authorization Header is not getting passed.
So earlier I thought it is the length of jwt but to my surprise if I remove last letter n from Authorization the header gets passed to server.
Is it the Apache server blocking Authorization Header? Because locally it was working.
apache http-headers authorization
add a comment |
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have discovered a strange problem.
I have to send JWT token in the http post request, all this time it was working when I was testing locally running Python web server that accepts post request but now that when I have uploaded my code to server I discovered that Authorization Header is not getting passed.
So earlier I thought it is the length of jwt but to my surprise if I remove last letter n from Authorization the header gets passed to server.
Is it the Apache server blocking Authorization Header? Because locally it was working.
apache http-headers authorization
I have discovered a strange problem.
I have to send JWT token in the http post request, all this time it was working when I was testing locally running Python web server that accepts post request but now that when I have uploaded my code to server I discovered that Authorization Header is not getting passed.
So earlier I thought it is the length of jwt but to my surprise if I remove last letter n from Authorization the header gets passed to server.
Is it the Apache server blocking Authorization Header? Because locally it was working.
apache http-headers authorization
apache http-headers authorization
edited 8 hours ago
asked 8 hours ago
Ciasto piekarz
2,13933382
2,13933382
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53203203%2fapache-server-not-allowing-authorization-header-in-http-request%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password