forked from boostorg/beast
Remove HTTP header aliases (API Change):
fix #382 * request_header and response_header are removed
This commit is contained in:
1 parent
d84713ece9
commit
b9bdb1bbbc
9 files changed
+27
-79
No files matched your search
@@ -170,13 +170,13 @@ public:
|
||||
testHeaders()
|
||||
{
|
||||
{
|
||||
using req_type = request_header;
|
||||
using req_type = header<true>;
|
||||
BOOST_STATIC_ASSERT(std::is_copy_constructible<req_type>::value);
|
||||
BOOST_STATIC_ASSERT(std::is_move_constructible<req_type>::value);
|
||||
BOOST_STATIC_ASSERT(std::is_copy_assignable<req_type>::value);
|
||||
BOOST_STATIC_ASSERT(std::is_move_assignable<req_type>::value);
|
||||
|
||||
using res_type = response_header;
|
||||
using res_type = header<false>;
|
||||
BOOST_STATIC_ASSERT(std::is_copy_constructible<res_type>::value);
|
||||
BOOST_STATIC_ASSERT(std::is_move_constructible<res_type>::value);
|
||||
BOOST_STATIC_ASSERT(std::is_copy_assignable<res_type>::value);
|
||||
|
||||
@@ -20,7 +20,7 @@ public:
|
||||
void
|
||||
test_is_upgrade()
|
||||
{
|
||||
http::request_header req;
|
||||
http::header<true> req;
|
||||
req.version = 10;
|
||||
BEAST_EXPECT(! is_upgrade(req));
|
||||
req.version = 11;
|
||||
|
||||
Reference in new issue
Block a user