mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 12:36:38 +08: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> |
||
---|---|---|
.. | ||
jobs | ||
js | ||
rcflags | ||
rcserver | ||
webgui | ||
cache_test.go | ||
cache.go | ||
config_test.go | ||
config.go | ||
internal_test.go | ||
internal.go | ||
params_test.go | ||
params.go | ||
rc_test.go | ||
rc.go | ||
registry.go |