This commit is contained in:
psyc://psyced.org/~lynX 2009-04-18 08:10:50 +02:00
parent 1e4a72c4a8
commit af78406976

View File

@ -94,7 +94,7 @@ varargs int real_logon(int arg) {
// we won't need connection: close w/ http/1.0 // we won't need connection: close w/ http/1.0
//emit("Connection: close\r\n\r\n"); //emit("Connection: close\r\n\r\n");
PT(("%O using %O\n", ME, buffer)) PT(("%O using %O\n", ME, buffer))
emit("GET /"+ resource +" HTTP/1.1\r\n" emit("GET /"+ resource +" HTTP/1.0\r\n"
"Host: "+ host +"\r\n" "Host: "+ host +"\r\n"
+ buffer + + buffer +
"\r\n"); "\r\n");