Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(720)

Side by Side Diff: net/tools/fetch/http_server_response_info.h

Issue 99333: A utility driver for doing client/server HTTP transaction... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/tools/fetch/http_server_request_info.h ('k') | net/tools/fetch/http_session.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2009 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.
4
5 #ifndef NET_HTTP_HTTP_RESPONSE_INFO_H__
6 #define NET_HTTP_HTTP_RESPONSE_INFO_H__
7
8 #include <string>
9 #include <map>
10
11 // Meta information about a server response.
12 class HttpServerResponseInfo {
13 public:
14 HttpServerResponseInfo()
15 : status(200), content_length(0), connection_close(false) {
16 }
17
18 // The response protocol
19 std::string protocol;
20
21 // The status code
22 int status;
23
24 // The server identifier
25 std::string server_name;
26
27 // The content type
28 std::string content_type;
29
30 // The content length
31 int content_length;
32
33 // Should we close the connection
34 bool connection_close;
35
36 // Additional response headers
37 std::map<std::string, std::string> headers;
38 };
39
40 #endif // NET_HTTP_HTTP_RESPONSE_INFO_H__
OLDNEW
« no previous file with comments | « net/tools/fetch/http_server_request_info.h ('k') | net/tools/fetch/http_session.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698