[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torspec/master] Prop #278: Prefix our encoding with "x-" and use LZMA2 instead of xz.
commit 2dfdc83b11f5b13356ec137a56ab760373676396
Author: Alexander Færøy <ahf@xxxxxxxxxxxxxx>
Date: Thu Apr 6 20:15:58 2017 +0200
Prop #278: Prefix our encoding with "x-" and use LZMA2 instead of xz.
---
proposals/278-directory-compression-scheme-negotiation.txt | 6 +++---
1 file 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.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits