Skip to content

Commit 0b123fa

Browse files
authoredAug 23, 2022
Reframe: specify HTTP response status codes (#311)
1 parent e4d0123 commit 0b123fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎reframe/REFRAME_HTTP_TRANSPORT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Servers MUST support `GET` for methods marked as cachable and MUST support `POST
4343

4444
If a server supports HTTP/1.1, then it MAY send chunked-encoded messages. Clients supporting HTTP/1.1 MUST accept chunked-encoded responses.
4545

46-
Requests and Responses MUST occur over a single HTTP call instead of the server being allowed to dial back the client with a response at a later time.
46+
Requests and Responses MUST occur over a single HTTP call instead of the server being allowed to dial back the client with a response at a later time. The response status code MUST be 200 if the RPC transaction succeeds, even when there's an error at the application layer, and a non-200 status code if the RPC transaction fails.
4747

4848
If a server chooses to respond to a single request message with a group of messages in the response it should do so as a set of `\n` delimited DAG-JSON messages (i.e. `{Response1}\n{Response2}...`).
4949

0 commit comments

Comments
 (0)
Please sign in to comment.