mirror of
https://github.com/red0124/ssp.git
synced 2025-12-14 21:59:55 +01:00
Modify header parsing for empty headers, update old and add new tests for header parsing
This commit is contained in:
@@ -531,10 +531,6 @@ private:
|
||||
|
||||
[[nodiscard]] bool strict_split(header_splitter& splitter,
|
||||
std::string& header) {
|
||||
if (header.empty()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if constexpr (throw_on_error) {
|
||||
try {
|
||||
splitter.split(header.data(), reader_.delim_);
|
||||
|
||||
Reference in New Issue
Block a user