From 9fce316d1cf58d85913639db1555c5ba205ce7ff Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sat, 1 Jul 2006 21:51:21 +0000 Subject: [PATCH] Oops. Headers work better when named right. svn:r6707 --- src/or/directory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/directory.c b/src/or/directory.c index f03ba823a0..e91f293713 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)