Fix a bug when HTTP method is PUT

This commit is contained in:
antao 2019-09-16 13:01:40 +08:00
parent 9855fc9b4f
commit 543d1a8c80

View File

@ -194,7 +194,7 @@ class HttpRequestImpl : public HttpRequest
{
if (!_query.empty())
return _query;
if (_method == Post)
if (_method == Post || _method == Put)
{
if (_cacheFilePtr)
return _cacheFilePtr->getStringView();