You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I may have this one completely wrong but by the looks of it the fairing only handles automagically generating the preflight / OPTIONS request and not the correct headers for other request types. Its not obvious to me the idiomatic way to achieve this. I could obviously go through request but I'm adding CORS to an already existing application so this is going to be a long winded task.
Basically wanted to check if there was some kind of exploiting default headers in rocket rather than manually tweaking all the existing code.
Cheers.
Ash.
The text was updated successfully, but these errors were encountered:
Hey there guys,
I may have this one completely wrong but by the looks of it the fairing only handles automagically generating the preflight / OPTIONS request and not the correct headers for other request types. Its not obvious to me the idiomatic way to achieve this. I could obviously go through request but I'm adding CORS to an already existing application so this is going to be a long winded task.
Basically wanted to check if there was some kind of exploiting default headers in rocket rather than manually tweaking all the existing code.
Cheers.
Ash.
The text was updated successfully, but these errors were encountered: