Permalink
Browse files

http, feat: request support json any type.

  • Loading branch information...
xicilion committed Sep 29, 2017
1 parent c258ae4 commit 881a7c7636f0fd3922474568a1159459fd45e2f3
Showing with 1 addition and 6 deletions.
  1. +1 −6 fibjs/src/http/HttpClient.cpp
@@ -557,13 +557,8 @@ result_t HttpClient::request(exlib::string method, exlib::string url,
stm = new MemoryStream();
o.Clear();
hr = GetArgumentValue(v, o);
if (hr < 0)
return hr;
exlib::string s;
hr = json_base::encode(o, s);
hr = json_base::encode(v, s);
if (hr < 0)
return hr;

0 comments on commit 881a7c7

Please sign in to comment.