c-cube / tiny_httpd

Minimal HTTP server using good old threads + blocking IO, with a small request router.
https://c-cube.github.io/tiny_httpd
75 stars 11 forks source link

Add OPTIONS method #61

Closed slegrand45 closed 1 year ago

slegrand45 commented 1 year ago

Useful for CORS preflight request: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS