micromata / dave

A totally simple and very easy to configure stand alone webdav server
Apache License 2.0
350 stars 46 forks source link

Add CORS preflight and credentials handling #38

Closed SergioBenitez closed 2 years ago

SergioBenitez commented 2 years ago

Without CORS preflight handling, cross-origin browser requests will be rejected. Likewise, without setting ALLOW-CREDENTIALS, credentialed cross-origin requests will be rejected. This PR adds both features.

chclaus commented 2 years ago

Hi Sergio,

thanks for the contribution 😄