47 |
line-by-line, and check for any problems with the CGI |
line-by-line, and check for any problems with the CGI |
48 |
outputting overriding http responses, etc... |
outputting overriding http responses, etc... |
49 |
*/ |
*/ |
|
|
|
50 |
int process_cgi_header(request * req) |
int process_cgi_header(request * req) |
51 |
{ |
{ |
52 |
char *buf; |
char *buf; |
71 |
return 0; |
return 0; |
72 |
} |
} |
73 |
} |
} |
74 |
if (req->simple) { |
if (req->http_version == HTTP_0_9) { |
75 |
if (*(c + 1) == '\r') |
if (*(c + 1) == '\r') |
76 |
req->header_line = c + 2; |
req->header_line = c + 2; |
77 |
else |
else |