Skip to content

Commit

Permalink
fix ithewei#324: HttpCookie supports saving multiple names
Browse files Browse the repository at this point in the history
  • Loading branch information
ithewei committed Dec 20, 2022
1 parent d8b0e63 commit 397aaba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http/HttpMessage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ bool HttpCookie::parse(const std::string& str) {
}

std::string HttpCookie::dump() const {
assert(!name.empty());
assert(!name.empty() || !kv.empty());
std::string res;

if (!name.empty()) {
Expand Down

0 comments on commit 397aaba

Please sign in to comment.