OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NET_SERVER_HTTP_SERVER_REQUEST_INFO_H_ | 5 #ifndef NET_SERVER_HTTP_SERVER_REQUEST_INFO_H_ |
6 #define NET_SERVER_HTTP_SERVER_REQUEST_INFO_H_ | 6 #define NET_SERVER_HTTP_SERVER_REQUEST_INFO_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <map> | 9 #include <map> |
10 | 10 |
(...skipping 11 matching lines...) Expand all Loading... |
22 std::string method; | 22 std::string method; |
23 | 23 |
24 // Request line. | 24 // Request line. |
25 std::string path; | 25 std::string path; |
26 | 26 |
27 // Request data. | 27 // Request data. |
28 std::string data; | 28 std::string data; |
29 | 29 |
30 // A map of the names -> values for HTTP headers. | 30 // A map of the names -> values for HTTP headers. |
31 typedef std::map<std::string, std::string> HeadersMap; | 31 typedef std::map<std::string, std::string> HeadersMap; |
32 HeadersMap headers; | 32 mutable HeadersMap headers; |
33 }; | 33 }; |
34 | 34 |
35 #endif // NET_SERVER_HTTP_SERVER_REQUEST_INFO_H_ | 35 #endif // NET_SERVER_HTTP_SERVER_REQUEST_INFO_H_ |
OLD | NEW |