upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/98.md
diff options
context:
space:
mode:
Diffstat (limited to '98.md')
-rw-r--r--98.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/98.md b/98.md
index 1ccd261..ecbebc0 100644
--- a/98.md
+++ b/98.md
@@ -46,7 +46,7 @@ Example event:
46Servers MUST perform the following checks in order to validate the event: 46Servers MUST perform the following checks in order to validate the event:
471. The `kind` MUST be `27235`. 471. The `kind` MUST be `27235`.
482. The `created_at` MUST be within a reasonable time window (suggestion 60 seconds). 482. The `created_at` MUST be within a reasonable time window (suggestion 60 seconds).
493. The `url` tag MUST be exactly the same as the absolute request URL (including query parameters). 493. The `u` tag MUST be exactly the same as the absolute request URL (including query parameters).
504. The `method` tag MUST be the same HTTP method used for the requested resource. 504. The `method` tag MUST be the same HTTP method used for the requested resource.
51 51
52When the request contains a body (as in POST/PUT/PATCH methods) clients SHOULD include a SHA256 hash of the request body in a `payload` tag as hex (`["payload", "<sha256-hex>"]`), servers MAY check this to validate that the requested payload is authorized. 52When the request contains a body (as in POST/PUT/PATCH methods) clients SHOULD include a SHA256 hash of the request body in a `payload` tag as hex (`["payload", "<sha256-hex>"]`), servers MAY check this to validate that the requested payload is authorized.