ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/trunk/Search/HttpHandler.cpp
(Generate patch)

Comparing trunk/Search/HttpHandler.cpp (file contents):
Revision 24 by douglas, 2002-12-22T00:58:21-08:00 vs.
Revision 25 by douglas, 2002-12-22T23:32:58-08:00

# Line 75 | Line 75 | HttpHandler::~HttpHandler()
75   #endif // _WIN32
76   }
77  
78 < bool HttpHandler::handle(URL &url, bool head)
78 > bool HttpHandler::handle(URL &url, const string referer, bool head)
79   {
80          bool answer = false;
81  
# Line 132 | Line 132 | bool HttpHandler::handle(URL &url, bool
132                  delete [] port;
133          }
134  
135 < //      putline("Referer: " + ¿referer?);
135 >        if (referer != "")
136 >        {
137 >                putline("Referer: " + referer);
138 >        }
139 >
140          putline("Connection: close");
141          putline();
142  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines