diff options
| author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-06-19 09:19:10 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-06-19 09:19:10 +0200 |
| commit | bd6a86a52b4618dcac1119b447ade78dcbd2d690 (patch) | |
| tree | 2e43c9af6d5ca02a596a643852f12716ad9ee5f7 | |
| parent | ae311094ad8f95c1ff5d06a8edd865579175922d (diff) | |
| download | plan9front-bd6a86a52b4618dcac1119b447ade78dcbd2d690.tar.xz | |
webfs: fix google login 400 bad request
| -rw-r--r-- | sys/src/cmd/webfs/http.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/src/cmd/webfs/http.c b/sys/src/cmd/webfs/http.c index c0c4e435f..6562b9815 100644 --- a/sys/src/cmd/webfs/http.c +++ b/sys/src/cmd/webfs/http.c @@ -764,6 +764,9 @@ http(char *m, Url *u, Key *shdr, Buq *qbody, Buq *qpost) bufree(qpost); qpost = nil; } + shdr = delkey(shdr, "Content-Length"); + shdr = delkey(shdr, "Content-Type"); + shdr = delkey(shdr, "Transfer-Encoding"); if(cistrcmp(method, "HEAD")) nstrcpy(method, "GET", sizeof(method)); case 301: /* Moved Permanently */ |
