mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #167] Method options should not check auth
#83
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @horizon0514 on GitHub (Jan 27, 2023).
Original GitHub issue: https://github.com/sigoden/dufs/issues/167
Problem
The preflight request will exclude user credentials
see stackoverflow
so when we use
corsandauth, theoptionsrequest will throw 401 errorit should not check the auth of
optionsmethodEnvironment:
@horizon0514 commented on GitHub (Jan 27, 2023):
maybe I can pull a request
@sigoden commented on GitHub (Jan 27, 2023):
You are welcome to submit a pr