diff --git a/src/or/directory.c b/src/or/directory.c index 52ebf19f23..e8ff16f28d 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -1501,6 +1501,9 @@ directory_handle_command_get(connection_t *conn, char *headers, return 0; } // note_request(request_type,dlen); + write_http_response_header(conn, -1, + deflated?"application/octet_stream":"text/plain", + deflated?"deflate":NULL); conn->fingerprint_stack = dir_fps; if (! deflated)