On Tue, 30 Nov 2021 at 13:56, Simon Ransome simon@nosher.net wrote:
There's a nice-enough example here: https://pythonbasics.org/webserver/
Thanks!
I built a script around that example which quickly told me that despite the IO module having a configuration to set headers (and it even includes Content-type: application/json as an example), the headers I've set are being ignored. I've reported it as a bug.