From f723922c708c0bcafee90c6a4f37defe0a460b9f Mon Sep 17 00:00:00 2001 From: Amos Jeffries Date: Sun, 19 Dec 2010 22:06:52 -0700 Subject: [PATCH] Author: Alex Rousskov Added missing status phrase to some 304 (Not Modified) replies. The bug affected 304 hits, at least. --- src/HttpReply.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/HttpReply.cc b/src/HttpReply.cc index 5dd4eb748f..7856a1d1fa 100644 --- a/src/HttpReply.cc +++ b/src/HttpReply.cc @@ -186,7 +186,7 @@ HttpReply::make304() const /* rv->content_range */ /* rv->keep_alive */ HttpVersion ver(1,0); - httpStatusLineSet(&rv->sline, ver, HTTP_NOT_MODIFIED, ""); + httpStatusLineSet(&rv->sline, ver, HTTP_NOT_MODIFIED, NULL); for (t = 0; ImsEntries[t] != HDR_OTHER; ++t) if ((e = header.findEntry(ImsEntries[t]))) -- 2.47.3