|
From: | Vladimir Sementsov-Ogievskiy |
Subject: | Re: [PATCH] block/curl: rewrite http header parsing function |
Date: | Mon, 1 Jul 2024 10:03:30 +0300 |
User-agent: | Mozilla Thunderbird |
On 01.07.24 09:55, Michael Tokarev wrote:
01.07.2024 09:54, Vladimir Sementsov-Ogievskiy wrote:+ const char *t = "accept-ranges : bytes "; /* A lowercase template */Note: you make parser less strict: you allow "bytes" to be uppercase (was allowed only for accept-ranges", and you allow whitespaces before colon.Yes, exactly. I should add this to the description (wanted to do that but forgot). I'll update the patch (without re-sending) - hopefully its' okay to keep your S-o-b :)
Of course! -- Best regards, Vladimir
[Prev in Thread] | Current Thread | [Next in Thread] |