aboutsummaryrefslogtreecommitdiff
path: root/proposals/278-directory-compression-scheme-negotiation.txt
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2017-04-06 20:15:58 +0200
committerAlexander Færøy <ahf@torproject.org>2017-04-07 13:18:15 +0200
commit2dfdc83b11f5b13356ec137a56ab760373676396 (patch)
tree5a20cb49fdedeb53efbca80c42a27e20f3036653 /proposals/278-directory-compression-scheme-negotiation.txt
parent072abc66ecb32927ba07029658952a2c64c7edfd (diff)
downloadtorspec-2dfdc83b11f5b13356ec137a56ab760373676396.tar.gz
torspec-2dfdc83b11f5b13356ec137a56ab760373676396.zip
Prop #278: Prefix our encoding with "x-" and use LZMA2 instead of xz.
Diffstat (limited to 'proposals/278-directory-compression-scheme-negotiation.txt')
-rw-r--r--proposals/278-directory-compression-scheme-negotiation.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/proposals/278-directory-compression-scheme-negotiation.txt b/proposals/278-directory-compression-scheme-negotiation.txt
index 4deef3e..93bb4ef 100644
--- a/proposals/278-directory-compression-scheme-negotiation.txt
+++ b/proposals/278-directory-compression-scheme-negotiation.txt
@@ -85,7 +85,7 @@ Target: N/A
For example:
GET / HTTP/1.0
- Accept-Encoding: zstd, xz, gzip, deflate
+ Accept-Encoding: x-zstd, x-lzma2, gzip, deflate
When a directory server receives a request with the "Accept-Encoding"
header included it must decide on a mutually supported compression
@@ -100,11 +100,11 @@ Target: N/A
HTTP/1.0 200 OK
Content-Length: 1337
Connection: close
- Content-Encoding: zstd
+ Content-Encoding: x-zstd
Currently supported compression scheme names includes "identity",
"gzip", and "deflate". This proposal adds two additional compression
- scheme named "xz" (LZMA2) and "zstd" (Zstandard).
+ scheme named "x-lzma2" (LZMA2) and "x-zstd" (Zstandard).
All compression scheme names are case-insensitive.