Archived

This topic is now archived and is closed to further replies.

daerid

Question about HTTP Protocol

Recommended Posts

daerid    354
Is this correct HTTP output?
HTML/1.0 200 OK
Content-Type: text/html
Content-Length: 135




 
  This is a test
 


  

Testing.


WTF
</body> </html>
If so, why does my browser still show my farking headers?

Share this post


Link to post
Share on other sites
Zanthos    300
"HTTP/1.0 200 OK" will work "HTML/1.0 200 OK" will not. As you''re replying with a HTTP header, not a HTML?! header. Strike one to the silly-typo error.

Share this post


Link to post
Share on other sites
Cyberdrek    100
quote:
Original post by daerid
HOLY FUCKING HYPERTEXT, BATMAN!

God do I feel like an idiot.


watch the language dude...





"DaHjajmajQa''jajHeghmeH!"

Cyberdrek
danielc@iquebec.com
Founder
Laval Linux

/(bb|[^b]{2})/ that is the Question -- ThinkGeek.com
Hash Bang Slash bin Slash Bash -- #!/bin/bash

Share this post


Link to post
Share on other sites