ソースを参照

Oops. Headers work better when named right.

svn:r6707
Nick Mathewson 18 年 前
コミット
9fce316d1c
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/or/directory.c

+ 1 - 1
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)