| Index: net/http/http_util.h
|
| diff --git a/net/http/http_util.h b/net/http/http_util.h
|
| index 21a1f428367525bf3780bc044618be2d397961be..13209b8f421fd5bfb7a78e4ff407807302215e0b 100644
|
| --- a/net/http/http_util.h
|
| +++ b/net/http/http_util.h
|
| @@ -82,6 +82,11 @@ class NET_EXPORT HttpUtil {
|
| // a fully RFC-2616-compliant header value validation.
|
| static bool IsValidHeaderValue(const std::string& value);
|
|
|
| + // Returns true if |value| is a valid HTTP header value according to
|
| + // RFC 7230 and doesn't contain CR or LF.
|
| + // i.e. returns true if |value| matches |*field-content| in RFC 7230.
|
| + static bool IsValidHeaderValueRFC7230(const base::StringPiece& value);
|
| +
|
| // Strips all header lines from |headers| whose name matches
|
| // |headers_to_remove|. |headers_to_remove| is a list of null-terminated
|
| // lower-case header names, with array length |headers_to_remove_len|.
|
|
|