Posted By
Csabo on 2017-04-08 21:34:30
| Re: C16 as a Web Server?
I'm glad you had a nice response - the idea has massive cool factor. I would guess that most people just took a cursory look (if they looked at all) and moved on. I on the other hand - I believe in doing things right, especially when it comes to C16 and Plus4 stuff
As it is, this is not done right. Sure, some clients will understand the response, but that's basically just a coincidence.
Here's what we see (Win10):
Let's keep at it a bit more. Responding with at least a single HTTP status code is a must. I've looked into what headers are necessary, and it looks like none of them. A cr/lf is precede the content though. Check here: https://www.tutorialspoint.com/http/http_responses.htm
I think that's all you were missing. Please give it a try, just 2 lines need to be added (one the status, and an empty one). Once you've added that, you could try https://httpstatus.io/ to see if it can retrieve the status. Send me an email (you can find the address by clicking my name) if you want to take this offline.
|