Adjust HTTP header parsing to follow RFC more closely.
authorclaudio <claudio@openbsd.org>
Thu, 8 Sep 2022 11:12:44 +0000 (11:12 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 8 Sep 2022 11:12:44 +0000 (11:12 +0000)
commit4520669e3b76cd7816156a934838cd325a88b839
treee1f119e5f976cc008b4ffdbb2e0b8b240f48dc51
parentccb45f8ea0f19383d0e961f23e9320ae7c3aa76b
Adjust HTTP header parsing to follow RFC more closely.

RFC9112 allows any amount of space/tabs between the ':' and the value.
Until now this code required exactly one space which works most of the
time but is not RFC compliant.
OK djm@
usr.bin/ftp/fetch.c