From 46a4298262759077844a78addb36c99a7156c085 Mon Sep 17 00:00:00 2001 From: Matas Lauzadis Date: Tue, 13 Jun 2023 10:07:13 -0500 Subject: [PATCH] Recommend HTTP code SHOULD be between 200 and 299 --- docs/source-1.0/spec/core/http-traits.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source-1.0/spec/core/http-traits.rst b/docs/source-1.0/spec/core/http-traits.rst index d764652ca02..b6ae367a1d3 100644 --- a/docs/source-1.0/spec/core/http-traits.rst +++ b/docs/source-1.0/spec/core/http-traits.rst @@ -53,7 +53,7 @@ The ``http`` trait is a structure that supports the following members: * - code - ``integer`` - The HTTP status code of a successful response. Defaults to ``200`` if - not provided. The provided value SHOULD be between 100 and 599, and + not provided. The provided value SHOULD be between 200 and 299, and it MUST be between 100 and 999. Status codes that do not allow a body like 204 and 205 SHOULD bind all output members to locations other than the body of the response.