-
-
Notifications
You must be signed in to change notification settings - Fork 351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Preflight for posting doesn't allow idempotency-key #1664
Comments
Thank you! Will fix this :) |
This or a related issue seems to happen again as of Relevant log from the server
In firefox: |
Oh, hmm, I don't think we changed anything in that regard on our side. As for curl -v -H 'accept: application/json' -H 'origin: http://localhost' https://gts.superseriousbusiness.org/api/v1/instance
and curl -v -X OPTIONS -H 'accept: application/json' -H 'origin: http://localhost' https://gts.superseriousbusiness.org/api/v1/instance
Could this be some other problem? |
Describe the bug with a clear and concise description of what the bug is.
POSTing to
/api/v1/statuses
with a request headeridempotency-key
fails in the browser with this console error:The preflight call (
OPTIONS
) returns this:It should include
Idempotency-Key
too.What's your GoToSocial Version?
0.7.1 git-adb5966
GoToSocial Arch
No response
What happened?
Status posting failed.
What you expected to happen?
Status should be posted successfully.
How to reproduce it?
Anything else we need to know?
I'm the developer of Phanpy, and this is a bug report from cheeaun/phanpy#91
The text was updated successfully, but these errors were encountered: