diff options
| author | Jon Staab <jstaab@protonmail.com> | 2022-11-23 12:46:25 -0800 |
|---|---|---|
| committer | fiatjaf <fiatjaf@gmail.com> | 2022-11-25 13:03:03 -0300 |
| commit | cf5eaf63607805fb7fa7262de160eacf105c0ffe (patch) | |
| tree | 615ea797989d96c2f8df06146b77a72ae588a2a8 /11.md | |
| parent | 743e43a8d4bf4a37022e3b6551524b12e7cc54a0 (diff) | |
Amend NIP 11 to require CORS support
Diffstat (limited to '11.md')
| -rw-r--r-- | 11.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -22,7 +22,7 @@ When a relay receives an HTTP(s) request with an `Accept` header of `application | |||
| 22 | } | 22 | } |
| 23 | ``` | 23 | ``` |
| 24 | 24 | ||
| 25 | Any field may be omitted, and clients MUST ignore any additional fields they do not understand. | 25 | Any field may be omitted, and clients MUST ignore any additional fields they do not understand. Relays MUST accept CORS requests by sending `Access-Control-Allow-Origin`, `Access-Control-Allow-Headers`, and `Access-Control-Allow-Methods` headers. |
| 26 | 26 | ||
| 27 | Field Descriptions | 27 | Field Descriptions |
| 28 | ----------------- | 28 | ----------------- |