@@ -30,7 +30,7 @@ namespace boost { namespace network { namespace http {
30
30
typedef typename resolver_base::resolver_type resolver_type;
31
31
typedef function<typename resolver_base::resolver_iterator_pair (resolver_type &, string_type const &, string_type const &)> resolver_function_type;
32
32
typedef function<void (iterator_range<char const *> const &, system::error_code const &)> body_callback_function_type;
33
-
33
+
34
34
void cleanup () {
35
35
host_connection_map ().swap (host_connections);
36
36
}
@@ -85,9 +85,9 @@ namespace boost { namespace network { namespace http {
85
85
pimpl->read_headers (response_, response_buffer);
86
86
87
87
if (
88
- get_body && response_.status () != 304
88
+ get_body && response_.status () != 304
89
89
&& (response_.status () != 204 )
90
- && not (response_.status () >= 100 && response_.status () <= 199 )
90
+ && ! (response_.status () >= 100 && response_.status () <= 199 )
91
91
) {
92
92
pimpl->read_body (response_, response_buffer);
93
93
}
@@ -125,7 +125,7 @@ namespace boost { namespace network { namespace http {
125
125
};
126
126
127
127
typedef shared_ptr<connection_impl> connection_ptr;
128
-
128
+
129
129
typedef unordered_map<string_type, connection_ptr> host_connection_map;
130
130
host_connection_map host_connections;
131
131
bool follow_redirect_;
@@ -164,7 +164,7 @@ namespace boost { namespace network { namespace http {
164
164
165
165
pooled_connection_policy (bool cache_resolved, bool follow_redirect)
166
166
: resolver_base(cache_resolved), host_connections(), follow_redirect_(follow_redirect) {}
167
-
167
+
168
168
};
169
169
170
170
} // namespace http
0 commit comments