From 1e094e6cdfb333ccfa0ebd3ba2e789b7f38ecef6 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Tue, 16 Jul 2024 12:57:42 -0500 Subject: [PATCH] NIP-86: use Content-Type to determine the code path --- 86.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/86.md b/86.md index 4c558fed..6f64eee7 100644 --- a/86.md +++ b/86.md @@ -8,7 +8,7 @@ Relay Management API Relays may provide an API for performing management tasks. This is made available as a JSON-RPC-like request-response protocol over HTTP, on the same URI as the relay's websocket. -When a relay receives an HTTP(s) request with an `Authorization` header and a `Content-Type` header of `application/nostr+json+rpc` to a URI supporting WebSocket upgrades, it should parse the request as a JSON document with the following fields: +When a relay receives an HTTP(s) request with a `Content-Type` header of `application/nostr+json+rpc` to a URI supporting WebSocket upgrades, it should parse the request as a JSON document with the following fields: ```json {