Steps to reproduce strange behaviour with 'till and end-of-line:
Server side setup:
# add this url-handler to some app
(allow "!testheader")
(de testheader ()
(prinl "*ID=" *ID) )
Client side setup:
myclient.l:
(de myclient (Host Port How . Prg)
(let
Hi Mansur,
as discussed just now in IRC, the problem is located. It results from
'_htHead' getting out of sync because of the missing space in
"X-Test:Test".
I changed @lib/http.l to handle it more gracefully ;)
♪♫ Alex
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Hi Alexander,
I've just found this:
https://tools.ietf.org/html/rfc7230#section-3.2
3.2. Header Fields
Each header field consists of a case-insensitive field name followed
by a colon (":"), optional leading whitespace, the field value, and
optional trailing whitespace.
If we follow the
Hi Mansur,
> If we follow the RFC, so yes, it should be better to handle header names
> case-insensitive way. Also see "optional leading whitespace" and "optional
> trailing whitespace" :(
OK, yes, this could indeed be improved a lot.
As I said in IRC yesterday, for now I have made he header nam