Refine parser

This commit is contained in:
Chunting Gu
2019-04-23 13:06:04 +08:00
parent 2a868c4dc1
commit 2fe4024511
7 changed files with 63 additions and 80 deletions
+4
View File
@@ -34,6 +34,10 @@ public:
return content_length_;
}
void set_content_length(std::size_t content_length) {
content_length_ = content_length;
}
const std::string& content() const {
return content_;
}