fix POST/303 redirection loop

This commit is contained in:
cinap_lenrek 2011-09-05 04:25:58 +02:00
parent 63f93b3b0d
commit 9cddb6ed33

View file

@ -370,9 +370,10 @@ httpopen(Client *c, Url *url)
werrstr("Partial Content (206)");
goto Error;
case 303: /* See Other */
c->havepostbody = 0;
case 301: /* Moved Permanently */
case 302: /* Moved Temporarily */
case 303: /* See Other */
case 307: /* Temporary Redirect */
redirect = 1;
break;