upleb.uk

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

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKieran <kieran@harkin.me>2023-06-17 18:49:02 +0100
committerKieran <kieran@harkin.me>2023-06-17 18:49:02 +0100
commit1412eb89c2b3fe19b36ea57ef19d5bfe0b6ce929 (patch)
tree389738a2d6329c2697ae4c0639a85eb6c96692c5
parentde1aec64d21415c2f96fce6694de294c282ce128 (diff)
fix typo
-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.