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
After publishing a flat file with the Files API, preflight (OPTIONS) requests fail with a 405 saying Method Not Allowed even though a GET requests succeed as expected.
Problem summary
After publishing a flat file with the Files API, preflight (OPTIONS) requests fail with a 405 saying Method Not Allowed even though a GET requests succeed as expected.
What platform services are impacted?
Files, PostIts
Which tenant were you using?
Community - https://api.agaveplatform.org
What version of the platform are you using?
2.4
How to recreate the issue
Use the Files API to grant the
public
userREAD
pemissions:Expected behavior
An OPTION request should return a 200 response with the proper CORS headers to allow OPTIONS, HEAD, an GET requests in modern browsers.
Should produce the following response:
Actual behavior
An OPTIONS request for the file we publishe above returns the following invalid 405 response:
The response will come back with a "405 Method Not Allowed"
An attempt to make a GET request for the published file returns the following
The response will come back with a "200 Success".
The text was updated successfully, but these errors were encountered: