commit | 2abc22e63943371128990e4dffcf8d1f7d44c10f | [log] [tgz] |
---|---|---|
author | Michael Tokarev <mjt@tls.msk.ru> | Sat Jun 29 16:27:00 2024 +0300 |
committer | Michael Tokarev <mjt@tls.msk.ru> | Wed Jul 17 14:04:15 2024 +0300 |
tree | 787be7737fbbcfc25b12f3914121d49e5eef121d | |
parent | e2f346aa98646e84eabe0256f89d08e89b1837cf [diff] |
block/curl: rewrite http header parsing function Existing code was long, unclear and twisty. This also relaxes the rules a tiny bit: allows to have whitespace before header name and colon and makes the header value match to be case-insensitive. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>