Make PHP follow 301 correctly.

# There may be other cases that need handling properly; I'll have to spend
# some time investigating why we even need special cases now; it's got
# something to do with Ilia's patch to fix memory leaks.
This commit is contained in:
Wez Furlong 2002-10-13 01:03:43 +00:00
parent 495dbef642
commit 3a8c49afc1

View File

@ -249,6 +249,7 @@ php_stream *php_stream_url_wrap_http(php_stream_wrapper *wrapper, char *path, ch
switch(response_code) {
case 200:
case 302:
case 301:
reqok = 1;
break;
case 403: