forked from boostorg/beast
Renamed to basic_fields::set (API Change):
* `replace` is renamed to `set` Actions Required: * Rename calls to `basic_fields::replace` to `basic_fields::set`
This commit is contained in:
@@ -124,7 +124,7 @@ public:
|
||||
{
|
||||
ec = {};
|
||||
h.erase("Content-Length");
|
||||
h.replace("Transfer-Encoding", "chunked");
|
||||
h.set("Transfer-Encoding", "chunked");
|
||||
});
|
||||
BEAST_EXPECTS(! ec, ec.message());
|
||||
BEAST_EXPECT(equal_body<true>(
|
||||
|
||||
Reference in New Issue
Block a user