diff options
Diffstat (limited to 'net/http/http_util.h')
-rw-r--r-- | net/http/http_util.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/net/http/http_util.h b/net/http/http_util.h index 4d4b200..447e490 100644 --- a/net/http/http_util.h +++ b/net/http/http_util.h @@ -19,14 +19,14 @@ namespace net { class HttpUtil { public: - // Returns the absolute path of the URL, to be used for the http request. - // The absolute path starts with a '/' and may contain a query. - static std::string PathForRequest(const GURL& url); - - // Returns the absolute URL, to be used for the http request. This url is - // made up of the protocol, host, [port], path, [query]. Everything else - // is stripped (username, password, reference). - static std::string SpecForRequest(const GURL& url); + // Returns the absolute path of the URL, to be used for the http request. + // The absolute path starts with a '/' and may contain a query. + static std::string PathForRequest(const GURL& url); + + // Returns the absolute URL, to be used for the http request. This url is + // made up of the protocol, host, [port], path, [query]. Everything else + // is stripped (username, password, reference). + static std::string SpecForRequest(const GURL& url); // Locates the next occurance of delimiter in line, skipping over quoted // strings (e.g., commas will not be treated as delimiters if they appear |