Unverified Commit 45938762 authored by Ge Jun's avatar Ge Jun Committed by GitHub

Merge pull request #622 from dyike/master

fix discovery docancel request return error response
parents 303cd576 301aac13
......@@ -365,6 +365,7 @@ int DiscoveryClient::DoCancel() const {
Controller cntl;
cntl.http_request().set_method(HTTP_METHOD_POST);
cntl.http_request().uri() = "/discovery/cancel";
cntl.http_request().set_content_type("application/x-www-form-urlencoded");
butil::IOBufBuilder os;
os << "appid=" << _appid
<< "&hostname=" << _hostname
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment