After a bit of wrestling, I thought I got parse and lookup to work. In my test file, the correct errors(I printf them) are printed out, but when I run check50, I get two things incorrect:
:( Requesting cat.exe returns error code 501
\ expected output, but not "HTTP/1.1 505 HTTP Version Not Supported..."
:( Requesting non-existant file returns error code 404
\ expected output, but not "HTTP/1.1 505 HTTP Version Not Supported..."
EDIT: (updated code) http://pastebin.com/vtS4sixj test code : http://pastebin.com/xcCpZDfv
EDIT:
if i delete the code that checks HTTP version, I get a return code of zero for those two errors, and I can't figure out why. My test file seems to work.