mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-11-30 02:37:57 +08:00
Fix a bug when HTTP method is PUT
This commit is contained in:
parent
9855fc9b4f
commit
543d1a8c80
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user