From c112e0b1247862af7fced8634509dbeb8707d38b Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Fri, 14 Oct 2022 19:39:20 +0200 Subject: [PATCH] fix: document CBOR in /reframe?q= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Due to miscommunication, go-delegated-routing v0.6.0 uses CBOR in `?q` – this updates the spec to describe current pre-alpha implementation. --- reframe/REFRAME_HTTP_TRANSPORT.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reframe/REFRAME_HTTP_TRANSPORT.md b/reframe/REFRAME_HTTP_TRANSPORT.md index c5a85ed78..9434c6398 100644 --- a/reframe/REFRAME_HTTP_TRANSPORT.md +++ b/reframe/REFRAME_HTTP_TRANSPORT.md @@ -32,7 +32,7 @@ All messages sent in HTTP body MUST be encoded as DAG-JSON and use explicit cont Requests MUST be sent as either: -- `GET /reframe?q={percent-encoded-dag-json}` +- `GET /reframe?q={percent-encoded-dag-cbor}` - DAG-JSON is supported via a `?q` query parameter, and the value MUST be [percent-encoded](https://en.wikipedia.org/wiki/Percent-encoding) - Suitable for sharing links, sending smaller messages, testing and debugging. - `POST /reframe`