File tree Expand file tree Collapse file tree 9 files changed +54
-8
lines changed Expand file tree Collapse file tree 9 files changed +54
-8
lines changed Original file line number Diff line number Diff line change
1
+ #ifndef BOOST_NETWORK_INCLUDE_HTTP_CLIENT_HPP_
2
+ #define BOOST_NETWORK_INCLUDE_HTTP_CLIENT_HPP_
3
+
4
+ // Copyright 2009 Dean Michael Berris
5
+ // Distributed under the Boost Software License, Version 1.0.
6
+ // (See accompanying file LICENSE_1_0.txt or copy at
7
+ // http://www.boost.org/LICENSE_1_0.txt)
8
+ //
9
+ // This is the modular include file for using the HTTP Client
10
+
11
+ #include < boost/network/protocol/http/client.hpp>
12
+
13
+ #endif // BOOST_NETWORK_INCLUDE_HTTP_CLIENT_HPP_
14
+
Original file line number Diff line number Diff line change
1
+ #ifndef BOOST_NETWORK_INCLUDE_MESSAGE_HPP_
2
+ #define BOOST_NETWORK_INCLUDE_MESSAGE_HPP_
3
+
4
+ // Copyright 2009 Dean Michael Berris
5
+ // Distributed under the Boost Software License, Version 1.0.
6
+ // (See accompanying file LICENSE_1_0.txt or copy at
7
+ // http://www.boost.org/LICENSE_1_0.txt)
8
+ //
9
+ // This is the modular include file for using the basic message type
10
+
11
+ #include < boost/network/message.hpp>
12
+
13
+ #endif // BOOST_NETWORK_INCLUDE_MESSAGE_HPP_
14
+
Original file line number Diff line number Diff line change 6
6
// (See accompanying file LICENSE_1_0.txt or copy at
7
7
// http://www.boost.org/LICENSE_1_0.txt)
8
8
9
- #include < boost/spirit/home/qi.hpp>
10
9
#include < boost/fusion/adapted/std_pair.hpp>
11
- #include < boost/spirit/home/phoenix.hpp>
12
10
#include < boost/range.hpp>
13
11
14
12
#include < boost/network/tags.hpp>
Original file line number Diff line number Diff line change 9
9
#include < boost/fusion/tuple.hpp>
10
10
#include < boost/network/uri/detail/uri_parts.hpp>
11
11
12
+ #include < boost/spirit/include/qi_core.hpp>
13
+ #include < boost/spirit/include/qi_sequence.hpp>
14
+ #include < boost/spirit/include/qi_parse.hpp>
15
+ #include < boost/spirit/include/qi_char_.hpp>
16
+ #include < boost/spirit/include/qi_lexeme.hpp>
17
+
12
18
namespace boost { namespace network { namespace uri {
13
19
14
20
namespace detail {
@@ -33,7 +39,7 @@ namespace boost { namespace network { namespace uri {
33
39
bool ok = qi::parse (
34
40
start_, end_,
35
41
(
36
- (qi::alpha > *(qi::alnum | qi::char_ (" +.-" )))
42
+ qi::lexeme[ (qi::alpha >> *(qi::alnum | qi::char_ (" +.-" )))]
37
43
>> ' :'
38
44
>>
39
45
+(qi::char_ - (qi::cntrl | qi::space))
Original file line number Diff line number Diff line change 11
11
#include < boost/network/uri/detail/parse_uri.hpp>
12
12
#include < boost/network/traits/string.hpp>
13
13
14
+ #include < boost/spirit/include/qi_core.hpp>
15
+ #include < boost/spirit/include/qi_sequence.hpp>
16
+ #include < boost/spirit/include/qi_raw.hpp>
17
+ #include < boost/spirit/include/qi_plus.hpp>
18
+ #include < boost/spirit/include/qi_parse.hpp>
19
+ #include < boost/spirit/include/qi_char_.hpp>
20
+ #include < boost/spirit/include/qi_uint.hpp>
21
+ #include < boost/spirit/include/qi_lexeme.hpp>
22
+ #include < boost/spirit/include/qi_eps.hpp>
23
+ #include < boost/spirit/include/qi_optional.hpp>
24
+ #include < boost/spirit/include/phoenix_operator.hpp>
25
+ #include < boost/spirit/include/support_ascii.hpp>
26
+ #include < boost/spirit/include/support_argument.hpp>
27
+
14
28
namespace boost { namespace network { namespace uri {
15
29
16
30
namespace detail {
@@ -101,7 +115,7 @@ namespace boost { namespace network { namespace uri {
101
115
>> -qi::lexeme[qi::raw[*(unreserved | pct_encoded | sub_delims | qi::char_ (" :" ))] >> ' @' ]
102
116
>> hostname
103
117
>> -qi::lexeme[' :' >> qi::ushort_]
104
- >> -qi::lexeme[' /' > qi::raw[*pchar >> *(' /' > *pchar)]]
118
+ >> -qi::lexeme[' /' >> qi::raw[*pchar >> *(' /' > *pchar)]]
105
119
>> -qi::lexeme[' ?' >> qi::raw[*(pchar | qi::char_ (" /?" ))]]
106
120
>> -qi::lexeme[' #' >> qi::raw[*(pchar | qi::char_ (" /?" ))]]
107
121
),
Original file line number Diff line number Diff line change 7
7
#define BOOST_TEST_MODULE http 1.0 test
8
8
#include < boost/config/warning_disable.hpp>
9
9
#include < boost/test/unit_test.hpp>
10
- #include < boost/network.hpp>
10
+ #include < boost/network/include/http/client .hpp>
11
11
#include < iostream>
12
12
#include < boost/mpl/list.hpp>
13
13
Original file line number Diff line number Diff line change 7
7
#define BOOST_TEST_MODULE http 1.1 test
8
8
#include < boost/config/warning_disable.hpp>
9
9
#include < boost/test/unit_test.hpp>
10
- #include < boost/network.hpp>
10
+ #include < boost/network/include/http/client .hpp>
11
11
#include < iostream>
12
12
#include < boost/mpl/list.hpp>
13
13
Original file line number Diff line number Diff line change 12
12
#include < boost/config/warning_disable.hpp>
13
13
#include < boost/config.hpp>
14
14
#include < boost/test/unit_test.hpp>
15
- #include < boost/network.hpp>
15
+ #include < boost/network/include/http/client .hpp>
16
16
#include < boost/cast.hpp>
17
17
#include < string>
18
18
#include < fstream>
Original file line number Diff line number Diff line change 7
7
#define BOOST_TEST_MODULE message test
8
8
#include < boost/config/warning_disable.hpp>
9
9
#include < boost/test/unit_test.hpp>
10
- #include < boost/network.hpp>
10
+ #include < boost/network/include/message .hpp>
11
11
#include < algorithm>
12
12
13
13
BOOST_AUTO_TEST_CASE ( message_transform_toupper ) {
You can’t perform that action at this time.
0 commit comments