diff options
Diffstat (limited to 'backends/networking/sdl_net/reader.h')
-rw-r--r-- | backends/networking/sdl_net/reader.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/backends/networking/sdl_net/reader.h b/backends/networking/sdl_net/reader.h index 5f951a39b1..0ed0d8c91e 100644 --- a/backends/networking/sdl_net/reader.h +++ b/backends/networking/sdl_net/reader.h @@ -66,6 +66,7 @@ class Reader { Common::String _currentFieldName, _currentFileName, _currentTempFileName; bool _isFileField; bool _isBadRequest; + bool _allContentRead; void cleanup(); @@ -101,7 +102,8 @@ public: bool readBlockHeaders(Common::WriteStream *stream); //true when ended reading bool readBlockContent(Common::WriteStream *stream); //true when ended reading void setContent(Common::MemoryReadWriteStream *stream); - bool badRequest(); + bool badRequest() const; + bool noMoreContent() const; Common::String method() const; Common::String path() const; |