code-server icon indicating copy to clipboard operation
code-server copied to clipboard

Proxy should allow OPTIONS

Open code-asher opened this issue 9 months ago • 0 comments

Steps to Reproduce

Send an OPTIONS request to your application through code-server's proxy.

Expected

Should get a 200 or 204 back.

Actual

Gets blocked with a 401 if you have --auth=password, because OPTIONS requests do not include credentials.

Notes

We should return a 200 or 204 for OPTIONS requests without checking auth.

code-asher avatar Mar 26 '25 23:03 code-asher