]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/httpclient.h
Remove some debug (im on a crusade to make debug mode useful, but at the same time...
[user/henk/code/inspircd.git] / src / modules / httpclient.h
index 181c58b6be8c61689670c00ffc2d3989e656e87f..045e8db8acbac2f5386b8fff9e9e9f11cdad50e4 100644 (file)
@@ -29,6 +29,10 @@ class HTTPClientRequest : public Request
                Headers["Accept"] = "*/*";
        }
 
+       HTTPClientRequest() : Request(NULL, NULL, HTTP_CLIENT_REQUEST)
+       {
+       }
+
        const std::string &GetURL()
        {
                return url;
@@ -65,7 +69,11 @@ class HTTPClientResponse : public Request
                : Request(src, target, HTTP_CLIENT_RESPONSE), url(url), response(response), responsestr(responsestr)
        {
        }
-       
+
+       HTTPClientResponse() : Request(NULL, NULL, HTTP_CLIENT_RESPONSE)
+       {
+       }
+
        void SetData(const std::string &ndata)
        {
                data = ndata;