Factor absolutize method back into xmltooling
[shibboleth/cpp-xmltooling.git] / xmltooling / io / GenericRequest.h
index 7dcb165..ff24bdb 100644 (file)
@@ -172,6 +172,13 @@ namespace xmltooling {
             getClientCertificates() const=0;
 
         /**
+         * Converts a relative URL into an absolute one based on the properties of the request.
+         *
+         * @param url   input URL to convert, will be modified in place
+         */
+        virtual void absolutize(std::string& url) const;
+
+        /**
          * Returns a language range to use in selecting language-specific
          * content for this request.
          * <p>The syntax is that of the HTTP 1.1 Accept-Language header, even