These are chat archives for cherrypy/cherrypy

2nd
Jun 2018
Michiel Overtoom
@motoom
Jun 02 2018 14:43
To server JSON from an API via Ajax() calls from webbrowsers, I needed a version of HTTP BASIC AUTH that wouldn't require authentication for the OPTIONS verb. I created it like https://gist.github.com/motoom/95f8440c11aeff99e0f0378106b316d4 and I'm curious if there are other approaches. In real life, this API sits behind HTTPS (because of the basic auth!) provided by a nginx proxy.