diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-07-01 21:51:21 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-07-01 21:51:21 +0000 |
commit | 9fce316d1cf58d85913639db1555c5ba205ce7ff (patch) | |
tree | 0d691fb8cf90a8064f9f95a7a89ee32f398c3bd5 /src/or | |
parent | 369d479c7a809e7527d1f3627550a10a6fce7512 (diff) | |
download | tor-9fce316d1cf58d85913639db1555c5ba205ce7ff.tar tor-9fce316d1cf58d85913639db1555c5ba205ce7ff.tar.gz |
Oops. Headers work better when named right.
svn:r6707
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index f03ba823a..e91f29371 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1282,7 +1282,7 @@ write_http_response_header(connection_t *conn, ssize_t length, } if (length >= 0) { tor_snprintf(cp, sizeof(tmp)-(cp-tmp), - "Content-Encoding: %ld\r\n", (long)length); + "Content-Length: %ld\r\n", (long)length); cp += strlen(cp); } if (sizeof(tmp)-(cp-tmp) > 3) |