Skip to content

Commit 80f7c74

Browse files
petarlidel
andauthored
reframe: generalize content-type (#275)
* generalize content-type in reframe spec Co-authored-by: Marcin Rataj <[email protected]>
1 parent 6bdb7b2 commit 80f7c74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

REFRAME.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Given that a client C wants to request information from some server S:
4040

4141
### HTTP + DAG-JSON
4242

43-
All messages MUST be encoded as DAG-JSON and use explicit content type `application/vnd.ipfs.reframe+dag-json; version=1`
43+
All messages MUST be encoded as DAG-JSON and use explicit content type `application/vnd.ipfs.rpc+dag-json; version=1`
4444

4545

4646
Requests MUST be sent as HTTP POST requests. If a server supports HTTP/1.1, then it MAY send chunked-encoded messages. Clients supporting HTTP/1.1 MUST accept chunked-encoded responses.

0 commit comments

Comments
 (0)