1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef NET_HTTP_HTTP_RESPONSE_INFO_H_
6 #define NET_HTTP_HTTP_RESPONSE_INFO_H_
11 // Meta information about a server response.
12 class HttpServerResponseInfo
{
14 HttpServerResponseInfo();
15 ~HttpServerResponseInfo();
17 // The response protocol.
23 // The server identifier.
24 std::string server_name
;
27 std::string content_type
;
29 // The content length.
32 // Should we close the connection.
33 bool connection_close
;
35 // Additional response headers.
36 std::map
<std::string
, std::string
> headers
;
39 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H_