Fix a bug when HTTP method is PUT
This commit is contained in:
parent
9855fc9b4f
commit
543d1a8c80
lib/src
|
@ -194,7 +194,7 @@ class HttpRequestImpl : public HttpRequest
|
||||||
{
|
{
|
||||||
if (!_query.empty())
|
if (!_query.empty())
|
||||||
return _query;
|
return _query;
|
||||||
if (_method == Post)
|
if (_method == Post || _method == Put)
|
||||||
{
|
{
|
||||||
if (_cacheFilePtr)
|
if (_cacheFilePtr)
|
||||||
return _cacheFilePtr->getStringView();
|
return _cacheFilePtr->getStringView();
|
||||||
|
|
Loading…
Reference in New Issue