diff --git a/libresapi/src/api/ApiTypes.h b/libresapi/src/api/ApiTypes.h index a11f17dc4..ce6ee9898 100644 --- a/libresapi/src/api/ApiTypes.h +++ b/libresapi/src/api/ApiTypes.h @@ -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;}