forked from boostorg/beast
1 parent
c3367e0746
commit
b5389ba5f2
20 files changed
+117
-149
No files matched your search
@@ -403,7 +403,7 @@ prepare_payload(std::false_type)
|
||||
this->result() == status::not_modified))
|
||||
{
|
||||
if(! n || *n > 0)
|
||||
// The response body MUST BE empty for this case
|
||||
// The response body MUST be empty for this case
|
||||
BOOST_THROW_EXCEPTION(std::invalid_argument{
|
||||
"invalid response body"});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user