added missing initialisation in resource_api::Request

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8522 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
electron128 2015-06-18 14:04:28 +00:00
parent f7935e3bd7
commit 8049d09f8d

View File

@ -181,7 +181,7 @@ private:
class Request
{
public:
Request(StreamBase& stream): mStream(stream){}
Request(StreamBase& stream): mStream(stream), mMethod(GET){}
bool isGet(){ return mMethod == GET;}
bool isPut(){ return mMethod == PUT;}