mirror of
https://github.com/rclone/rclone.git
synced 2024-11-07 09:04:52 +01:00
6c8148ef39
Some changes about test cases: Because MiddlewareCORS will return early on OPTIONS request, this middleware should only be used once at NewServer function. Test cases should pass AllowOrigin config instead of adding this middleware again. A new test case was added to test CORS preflight request with an authenticator. Preflight request should always return 200 OK regardless of autentications. Co-authored-by: yuudi <yuudi@users.noreply.github.com> |
||
---|---|---|
.. | ||
serve | ||
templates | ||
testdata | ||
auth_test.go | ||
auth.go | ||
context.go | ||
middleware_test.go | ||
middleware.go | ||
server_test.go | ||
server.go | ||
template_test.go | ||
template.go |