From 84a0285be7c7a57cfc00cb31a4a1da9902fa1b34 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Wed, 20 Jul 2005 23:17:25 +0000 Subject: moved util::canonicalize_url to consumer class --- (limited to 'include') diff --git a/include/opkele/consumer.h b/include/opkele/consumer.h index b9c29bd..3c0ed5f 100644 --- a/include/opkele/consumer.h +++ b/include/opkele/consumer.h @@ -128,6 +128,8 @@ namespace opkele { */ void check_authentication(const string& server,const params_t& p); + static string canonicalize(const string& url); + }; } diff --git a/include/opkele/util.h b/include/opkele/util.h index fbbef93..5372498 100644 --- a/include/opkele/util.h +++ b/include/opkele/util.h @@ -48,7 +48,6 @@ namespace opkele { string time_to_w3c(time_t t); time_t w3c_to_time(const string& w); - string canonicalize_url(const string& url); string url_encode(const string& str); string long_to_string(long l); -- cgit v0.9.0.2