From 61bbe4c3d1349bdc34801e502e6b34a53e39145d Mon Sep 17 00:00:00 2001
From: Ben Francis
- A Web Thing MUST NOT issue any 3xx status codes.
+ A Web Thing MAY respond with 3xx status codes for the purposes of
+ redirection, caching or authentication.
- A Consumer MAY treat all 3xx codes as errors that do not change the status or behavior
- of the consumer.
+ A Web Thing MUST NOT respond with a
@@ -1810,18 +1811,6 @@
-
- TODO: If we define the finite set of error responses as above then we
- should also define what a Consumer should do if it receives a 3xx
- redirect type response.
-
-
- It turns out 3xx redirection codes are used as part of some OAuth2 flows, so it may be
- in appropriate to disallow them generally. See the "Security Bootstrapping" section of
- WoT Discovery.
- Errors
300 Multiple Choices
+ status code.
Errors
Consumers MAY interpret other valid HTTP error codes as a generic 4xx
or 5xx
error with no special defined behaviour.
If an HTTP error response contains a body, the content of that body