• Advertisement

Archived

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

Question about HTTP Protocol

This topic is 5708 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
"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
HOLY FUCKING HYPERTEXT, BATMAN!

God do I feel like an idiot.

Share this post


Link to post
Share on other sites
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

  • Advertisement