}
HttpReply::HttpReply() : HttpMsg(hoReply), date (0), last_modified (0),
- expires (0), surrogate_control (NULL), content_range (NULL), keep_alive (0),
- protoPrefix("HTTP/"), bodySizeMax(-2)
+ expires (0), surrogate_control (NULL), content_range (NULL), keep_alive (0),
+ protoPrefix("HTTP/"), bodySizeMax(-2)
{
init();
}
if (expiresTime >= 0)
hdr->putTime(HDR_EXPIRES, expiresTime);
- if (lmt > 0) /* this used to be lmt != 0 @?@ */
+ if (lmt > 0) /* this used to be lmt != 0 @?@ */
hdr->putTime(HDR_LAST_MODIFIED, lmt);
date = squid_curtime;
else if (method.id() == Http::METHOD_HEAD)
return 0;
else if (sline.status() == Http::scOkay)
- (void) 0; /* common case, continue */
+ (void) 0; /* common case, continue */
else if (sline.status() == Http::scNoContent)
return 0;
else if (sline.status() == Http::scNotModified)
return newValue;
}
+