diff options
author | Alexander Færøy <ahf@torproject.org> | 2017-04-07 13:18:44 +0200 |
---|---|---|
committer | Alexander Færøy <ahf@torproject.org> | 2017-04-07 13:18:44 +0200 |
commit | 7401488308ec5de485cdf745199c3ed87dfd930a (patch) | |
tree | 7e0ee5a0632c9ab8d6a6821343b78ce41e9698a5 /proposals/278-directory-compression-scheme-negotiation.txt | |
parent | 2dfdc83b11f5b13356ec137a56ab760373676396 (diff) | |
download | torspec-7401488308ec5de485cdf745199c3ed87dfd930a.tar.gz torspec-7401488308ec5de485cdf745199c3ed87dfd930a.zip |
Prop #278: Describe backwards compatibility for directory servers.
Diffstat (limited to 'proposals/278-directory-compression-scheme-negotiation.txt')
-rw-r--r-- | proposals/278-directory-compression-scheme-negotiation.txt | 6 |
1 files changed, 6 insertions, 0 deletions
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. |