sleepy.mongoose icon indicating copy to clipboard operation
sleepy.mongoose copied to clipboard

added do_OPTIONS, fixed CORS

Open mb21 opened this issue 12 years ago • 1 comments

Trying to access sleepy.mongoose (started with the --xorigin flag) from JavaScript with CORS on Chrome and Safari, I always got 501 Unsupported method ('OPTIONS'). So I implemented it, works fine now.

mb21 avatar Feb 15 '13 14:02 mb21

Just noticed there was a similar pull request a month ago, if I had known! Anyway, can you please accept one of the two, to save future users some headaches? I think mine is a bit simpler, requiring no new command line parameter, but either way.

mb21 avatar Feb 20 '13 12:02 mb21