diff options
author | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-09-05 04:25:58 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-09-05 04:25:58 +0200 |
commit | 9cddb6ed33051b8d19753e348a2eed3296622397 (patch) | |
tree | d0e87a0a4f87ea4766ac2884e4e2aa251d49fbee /sys/src/cmd/webfs/http.c | |
parent | 63f93b3b0dbf496beeb97dd7c97693d351da3f8f (diff) |
fix POST/303 redirection loop
Diffstat (limited to 'sys/src/cmd/webfs/http.c')
-rw-r--r-- | sys/src/cmd/webfs/http.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/src/cmd/webfs/http.c b/sys/src/cmd/webfs/http.c index 0d25a7c20..5acbcb4d2 100644 --- a/sys/src/cmd/webfs/http.c +++ b/sys/src/cmd/webfs/http.c @@ -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; |