mirror of
https://github.com/rclone/rclone.git
synced 2025-08-12 15:07:24 +02:00
http: fix webdav OPTIONS response (#6433)
This commit is contained in:
@ -459,8 +459,7 @@ func TestMiddlewareCORSWithAuth(t *testing.T) {
|
||||
require.NoError(t, s.Shutdown())
|
||||
}()
|
||||
|
||||
expected := []byte("data")
|
||||
s.Router().Mount("/", testEchoHandler(expected))
|
||||
s.Router().Mount("/", testEmptyHandler())
|
||||
s.Serve()
|
||||
|
||||
url := testGetServerURL(t, s)
|
||||
|
Reference in New Issue
Block a user