aboutsummaryrefslogtreecommitdiff
path: root/proposals/278-directory-compression-scheme-negotiation.txt
diff options
context:
space:
mode:
authorYawning Angel <yawning@schwanenlied.me>2017-05-12 19:26:08 +0000
committerYawning Angel <yawning@schwanenlied.me>2017-05-12 19:26:08 +0000
commitbea0a22d10196e3d137e41bbed13f19d7c27e056 (patch)
tree8eef4187ae4e80b1777743697423b3a463d3298f /proposals/278-directory-compression-scheme-negotiation.txt
parent422ca3d2edace750993a45c41ece03bdb00ec6c3 (diff)
downloadtorspec-bea0a22d10196e3d137e41bbed13f19d7c27e056.tar.gz
torspec-bea0a22d10196e3d137e41bbed13f19d7c27e056.zip
Prop 278: Return a more standard HTTP status on failure.
"406 Not Acceptable" is the status code that implementations are supposed to return when a request cannot be serviced due to `Accept-*` headers.
Diffstat (limited to 'proposals/278-directory-compression-scheme-negotiation.txt')
-rw-r--r--proposals/278-directory-compression-scheme-negotiation.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/proposals/278-directory-compression-scheme-negotiation.txt b/proposals/278-directory-compression-scheme-negotiation.txt
index 475e4af..64b1839 100644
--- a/proposals/278-directory-compression-scheme-negotiation.txt
+++ b/proposals/278-directory-compression-scheme-negotiation.txt
@@ -94,8 +94,8 @@ Target: N/A
response and thus notifying the client of its decision. The
"Content-Encoding" header can at most contain one supported
compression scheme. If no mutual compression scheme can be negotiated
- the server must respond with an HTTP error status code of 415
- "Unsupported Media Type".
+ the server must respond with an HTTP error status code of 406
+ "Not Acceptable".
For example: