These are chat archives for cherrypy/cherrypy

Jun 2018
Michiel Overtoom
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 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.