IanSeyler / minIP

A minimalist IP stack written in ANSI C.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Valid return?

ohnx opened this issue · comments

commented

I was checking the page that minIP returns, and I noticed a few things I thought I'd bring up.
I'm not sure if these things are needed, but it seems like they should be.

  • Shouldn't there be a Content-length header?
  • Shouldn't headers end with a CR LF, instead of just a newline?

This is more of a proof-of-concept than anything else so HTTP specs were not taken into consideration. It was just the easiest way to see the the TCP stack was functioning properly.