File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
boost/network/protocol/http/server Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ namespace boost { namespace network { namespace http {
16
16
struct async_server_base {
17
17
typedef basic_request<Tag> request;
18
18
typedef basic_response<Tag> response;
19
- typedef response_header<Tag> response_header;
20
19
typedef typename string<Tag>::type string_type;
20
+ typedef boost::network::http::response_header<Tag> response_header;
21
21
typedef async_connection<Tag,Handler> connection;
22
22
typedef shared_ptr<connection> connection_ptr;
23
23
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ namespace boost { namespace network { namespace http {
87
87
if (request_.method [0 ] == ' P' ) {
88
88
// look for the content-length header
89
89
typename std::vector<request_header<Tag> >::iterator it =
90
- find_if (
90
+ std:: find_if (
91
91
request_.headers .begin (),
92
92
request_.headers .end (),
93
93
is_content_length ()
Original file line number Diff line number Diff line change 14
14
#include < boost/network/protocol/http/response.hpp>
15
15
#include < boost/network/protocol/http/request.hpp>
16
16
#include < boost/network/protocol/http/server/sync_connection.hpp>
17
+ #include < boost/network/protocol/http/server/header.hpp>
17
18
#include < boost/network/traits/string.hpp>
18
19
19
20
namespace boost { namespace network { namespace http {
@@ -23,6 +24,7 @@ namespace boost { namespace network { namespace http {
23
24
typedef typename string<Tag>::type string_type;
24
25
typedef basic_request<Tag> request;
25
26
typedef basic_response<Tag> response;
27
+ typedef boost::network::http::response_header<Tag> response_header;
26
28
27
29
sync_server_base (string_type const & address,
28
30
string_type const & port,
You can’t perform that action at this time.
0 commit comments