| Index: net/http/http_util.h
|
| diff --git a/net/http/http_util.h b/net/http/http_util.h
|
| index 57aa0d005fded58cebcf0fc8b354fc01f2065056..080138270a287e9722ef5627a887444e6d96848d 100644
|
| --- a/net/http/http_util.h
|
| +++ b/net/http/http_util.h
|
| @@ -14,6 +14,7 @@
|
| #include "googleurl/src/gurl.h"
|
| #include "net/base/net_export.h"
|
| #include "net/http/http_byte_range.h"
|
| +#include "net/http/http_version.h"
|
|
|
| // This is a macro to support extending this string literal at compile time.
|
| // Please excuse me polluting your global namespace!
|
| @@ -187,6 +188,13 @@ class NET_EXPORT HttpUtil {
|
| const std::string& header_value,
|
| std::string* headers);
|
|
|
| + // Returns true if the parameters describe a response with a strong etag or
|
| + // last-modified header. See section 13.3.3 of RFC 2616.
|
| + static bool HasStrongValidators(HttpVersion version,
|
| + const std::string& etag_header,
|
| + const std::string& last_modified_header,
|
| + const std::string& date_header);
|
| +
|
| // Used to iterate over the name/value pairs of HTTP headers. To iterate
|
| // over the values in a multi-value header, use ValuesIterator.
|
| // See AssembleRawHeaders for joining line continuations (this iterator
|
|
|