Skip to content

Commit 78453a2

Browse files
committed
spec: Allow text/html success response for Seed Report endpoint
There is no particular reason to limit the Seed Report endpoint to returning a human-readable message only in the error case. Allow an HTML response body for both success and error response codes. Suggested-by: David Spence <[email protected]> Signed-off-by: Michael Brown <[email protected]>
1 parent af1dc11 commit 78453a2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

spec/cx.lyx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8605,12 +8605,11 @@ Response
86058605
\begin_inset space ~
86068606
\end_inset
86078607

8608-
Content-Type: text/html (in the case of an error status code)
8608+
Content-Type: text/html (or empty response)
86098609
\end_layout
86108610

86118611
\begin_layout Description
8612-
Response Status code only, with a human-readable HTML error description
8613-
in the case of an error status code.
8612+
Response Status code plus OPTIONAL human-readable message in HTML format
86148613
\end_layout
86158614

86168615
\begin_layout Standard
@@ -8644,8 +8643,10 @@ An Advertiser SHALL refuse to attempt to retrieve content from this endpoint
86448643

86458644
\begin_layout Standard
86468645
An Advertiser SHALL provide an indication to the user as to whether or not
8647-
the reponse was successful, and SHOULD provide an opportunity for the user
8648-
to view the HTML error description if the response was not successful.
8646+
the reponse was successful, SHOULD provide an opportunity for the user
8647+
to view the HTML error message if the response was not successful, and
8648+
MAY provide an opportunity for the user to view the HTML message if the
8649+
response was successful.
86498650
\end_layout
86508651

86518652
\begin_layout Subsection

0 commit comments

Comments
 (0)