Amend NIP 11 to require CORS support

This commit is contained in:
Jon Staab 2022-11-23 12:46:25 -08:00 committed by fiatjaf
parent 743e43a8d4
commit cf5eaf6360

2
11.md
View File

@ -22,7 +22,7 @@ When a relay receives an HTTP(s) request with an `Accept` header of `application
}
```
Any field may be omitted, and clients MUST ignore any additional fields they do not understand.
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.
Field Descriptions
-----------------