Differences From Artifact [85b2274e9b]:
- File
src/OFHTTPServer.m
— part of check-in
[8472e9eade]
at
2013-01-14 23:21:36
on branch trunk
— OFHTTPServer: Always send Server and Date.
This also makes sure those aren't sent twice in case they are also in
the headers. (user: js, size: 14288) [annotate] [blame] [check-ins using]
To Artifact [34f30ba48f]:
- File src/OFHTTPServer.m — part of check-in [ea4a43461c] at 2013-01-23 21:52:54 on branch trunk — Never compare to @"", use length instead. (user: js, size: 14287) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
321 322 323 324 325 326 327 | } - (BOOL)parseHeaders: (OFString*)line { OFString *key, *value; size_t pos; | | | 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 | } - (BOOL)parseHeaders: (OFString*)line { OFString *key, *value; size_t pos; if ([line length] == 0) { switch (requestType) { case OF_HTTP_REQUEST_TYPE_GET: case OF_HTTP_REQUEST_TYPE_HEAD: state = SEND_REPLY; break; case OF_HTTP_REQUEST_TYPE_POST:; OFString *tmp; |
︙ | ︙ |