Send CORS Headers #22

Open
opened 2022-10-13 10:21:29 +00:00 by heartles · 0 comments
Owner

We need to support

  • Responding to the OPTIONS http method
  • Specifying CORS headers in the controller namespaces
  • Adding the right CORS headers to the request

We shouldn't need to define an OPTIONS endpoint for every path, instead we should have the controller helper read what headers are appropriate from the route spec and special-case the OPTIONS method to respond with this information

We need to support - [ ] Responding to the OPTIONS http method - [ ] Specifying CORS headers in the controller namespaces - [ ] Adding the right CORS headers to the request We shouldn't need to define an OPTIONS endpoint for every path, instead we should have the controller helper read what headers are appropriate from the route spec and special-case the OPTIONS method to respond with this information
heartles added the
http
label 2022-10-13 10:21:29 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: heartles/fediglam#22
No description provided.