diff options
author | Arnaud Le Blanc <lbarnaud@php.net> | 2008-07-28 19:08:02 +0000 |
---|---|---|
committer | Arnaud Le Blanc <lbarnaud@php.net> | 2008-07-28 19:08:02 +0000 |
commit | 0f9026daf9542b0735811381bcd677e1ad26364a (patch) | |
tree | 7cc2fb57dbdedae8455e5351ac3242a1578e4347 /ext/sqlite3/sqlite3.c | |
parent | 49aa0feaae87434c2dee0979f30ca1d0496ae989 (diff) | |
download | php-git-0f9026daf9542b0735811381bcd677e1ad26364a.tar.gz |
MFH: When automatically redirecting an HTTP request, use the GET method when the
original method was not HEAD or GET (fixes #45540)
#
# The RFC says that in case of 3xx code, "The action required MAY be
# carried out [...] *only if the method used in the second request is GET or
# HEAD*".
#
# This may not break anything as actually POST requests replying
# with a Location header never worked as the redirecting request was sent using
# the POST method, but without Entity-Body (and without Content-Length header,
# which caused the server to reply with a "411 Length Required" or to treat
# the request as GET).
#
Diffstat (limited to 'ext/sqlite3/sqlite3.c')
0 files changed, 0 insertions, 0 deletions