Fix LV2UI_Request_Parameter Feature URI
[ardour.git] / gtk2_ardour / ardour_http.h
index aa6b9f3936658aba6119e3af6ca9727258974c3e..e209d75d9e4645127f7f170414777189426fff9b 100644 (file)
@@ -40,10 +40,10 @@ class HttpGet {
                std::map<std::string, std::string> h;
        };
 
-       char* get (const char* url);
+       char* get (const char* url, bool with_error_logging = false);
 
-       std::string get (const std::string& url) {
-               char *rv = get (url.c_str ());
+       std::string get (const std::string& url, bool with_error_logging = false) {
+               char *rv = get (url.c_str (), with_error_logging);
                return rv ? std::string (rv) : std::string ("");
        }
 
@@ -89,9 +89,10 @@ class HttpGet {
        static const char* ca_info;
 };
 
-char* http_get (const char* url, int* status);
+char* http_get (const char* url, int* status, bool with_error_logging);
+std::string http_get (const std::string& url, bool with_error_logging);
+
 
-std::string http_get (const std::string& url);
 
 } // namespace