Merge pull request #396 from PlasmaPower/fix-callback-content-type
Set callback Content-Type to application/json
This commit is contained in:
commit
1d37236564
1 changed files with 1 additions and 0 deletions
|
@ -1410,6 +1410,7 @@ block_processor_thread ([this] () { this->block_processor.process_blocks (); })
|
|||
req->target (*target);
|
||||
req->version (11);
|
||||
req->insert(boost::beast::http::field::host, address);
|
||||
req->insert(boost::beast::http::field::content_type, "application/json");
|
||||
req->body() = *body;
|
||||
//req->prepare (*req);
|
||||
//boost::beast::http::prepare(req);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue