HTTP proxy - expect 100 and authentication
91
This question was asked already on stackoverflow.com ( https://stackoverflow.com/questions/3889574/apache-and-mod-proxy-not-handling-http-100-continue-from-client-http-417 ):
You could configure it this way:
<IfModule mod_headers.c>
RequestHeader unset Expect early
</IfModule>
This will remove the Expect header, and the communication should work.
EDIT Please make sure, that the remote side is HTTP/1.1. In the same RFC you linked there is just one page after your cite this:
- If the proxy knows that the version of the next-hop server is
HTTP/1.0 or lower, it MUST NOT forward the request, and it MUST
respond with a 417 (Expectation Failed) status.
Related videos on Youtube
Author by
ff cc
Updated on September 18, 2022Comments
-
ff cc almost 2 years
do you know how to write the PHP coding for MySQL if I select
$_SESSION['room1']
, the room price is $100,$_SESSION['room2]
, the room price is $200.the session are stored from drop down list.
After determine the price of the room, I will use the value to multiple 10% for the deposit of reservation.
-
Admin about 9 yearsPlease post the code you have tried. If you have tried nothing - please try first. If you have absolutely no idea where to start - please research first. Option 4 - hire some one
-
Darren about 9 yearsThat's great, so what have you tried?
-
-
amir almost 13 yearsNo. This is different issue. I don't want to remove this header. If I do so I get 413 error.
-
Thomas Berger almost 13 years@Kylo In the Topic, there are also mentioned two bugs, that prevent Apache to handle the header correctly. Thats the same issue
-
amir almost 13 yearsNext hop is HTTP/1.1 for sure. So I assume it is Apache bug. Right?