| Index: net/http/http_util.h
|
| ===================================================================
|
| --- net/http/http_util.h (revision 119592)
|
| +++ net/http/http_util.h (working copy)
|
| @@ -43,11 +43,14 @@
|
| // Parses the value of a Content-Type header. The resulting mime_type and
|
| // charset values are normalized to lowercase. The mime_type and charset
|
| // output values are only modified if the content_type_str contains a mime
|
| - // type and charset value, respectively.
|
| + // type and charset value, respectively. The boundary output value is
|
| + // optional and will be assigned the (quoted) value of the boundary
|
| + // paramter, if any.
|
| static void ParseContentType(const std::string& content_type_str,
|
| std::string* mime_type,
|
| std::string* charset,
|
| - bool* had_charset);
|
| + bool* had_charset,
|
| + std::string* boundary);
|
|
|
| // Scans the headers and look for the first "Range" header in |headers|,
|
| // if "Range" exists and the first one of it is well formatted then returns
|
|
|