Closed larryweya closed 10 years ago
@pld Same applies to delete row and update row endpoints
Looking through bamboo/config/routes.py
it appears only a subset of endpoints accept an OPTIONS request (they're at the top).
Which endpoints should we allow options requests for? Should we allow options requests for all endpoints?
I'm trying to figure out when an OPTIONS request is sent, both jquery and angular dont to do it on GET requests, however, angular sends one on POST requests.
These are the endpoints that I feel need an OPTIONS request at the moment:
OK, will add those, is there any downside to adding it for all of the routes?
I dont see a problem since bamboo doesn't require authentication at the moment I also dont see a security issue.
I merged and deployed code that adds options for all routes, I don't think there are robust tests for it so not guaranteeing everything is OK. Can you check it out and let me know if this works for you?
While testing the reset endpoint with bamboo.js, the OPTIONS request returns a 404