commit 7401488308ec5de485cdf745199c3ed87dfd930a Author: Alexander Færøy ahf@torproject.org Date: Fri Apr 7 13:18:44 2017 +0200
Prop #278: Describe backwards compatibility for directory servers. --- proposals/278-directory-compression-scheme-negotiation.txt | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/proposals/278-directory-compression-scheme-negotiation.txt b/proposals/278-directory-compression-scheme-negotiation.txt index 93bb4ef..b1f2808 100644 --- a/proposals/278-directory-compression-scheme-negotiation.txt +++ b/proposals/278-directory-compression-scheme-negotiation.txt @@ -120,6 +120,12 @@ Target: N/A using zlib deflate without any prior knowledge of the newly added compression schemes.
+ If a directory server receives a request to a document with the ".z" + suffix, where the client does not include an "Accept-Encoding" header, + the server should respond with the zlib compressed version of the + document for backwards compatibility with client that does not support + this proposal. + The "Content-Length" header contains the number of compressed bytes sent to the client.