Wont Work on iPhone (Safari Mobile)
Safari Mobile wont load the JS because the webserver doesnt return proper headers (HTTP/1.1 200", "OK"). With no headers safari assumes its an "old webserver" and runs the webpage in a sandbox environment and disables javascript.
I had a look through the code and seen you incorperated another HTTP server project, and modified it to stream the files form the content directory. I also noticed you commented out the p.writesuccess() lines (which seem to handle headers). I re-enabled that line, but now the headers are being printed in plain text on the pages and still are not passing properly to the browser.
Any ideas of how to get headers to populate properly?
Thanks!
Sorry, this is a 4 years old repo and I don't actually use C# any more. If you get a Visual Studio, maybe you can have a look at HttpProcessor's type or document to see if there is any way to set the mime type. It should be too hacky I guess. Thanks.