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

Comparing trunk/Search/HttpHandler.h (file contents):
Revision 19 by douglas, 2002-12-10T00:02:22-08:00 vs.
Revision 20 by douglas, 2002-12-10T14:04:39-08:00

# Line 89 | Line 89 | private:
89   #endif // _WIN32
90          SOCKET http;
91          char* buffer;
92        unsigned begin;
92          string page;
93          string type;
94          unsigned length;
# Line 104 | Line 103 | public:
103          ~HttpHandler();
104          bool handle(URL& url, bool head = false);
105          HttpHandler& getline(string& line, char endline = '\n');
106 <        bool good();
106 >        bool good() { return (page.length() > 0); }
107          void clear();
108          string contentType() { return type; }
109          unsigned contentLength() { return length; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines