<i>http: wrong parameter "-headers A" not detected and sent anyway</i> status still Closed with 5 other changes
by
.
D 2020-09-29T18:34:49.061
J closedate 2459122.27417895
J closer sebres
J icomment Although\sthis\scheck\sis\snice\sfor\snegative\scase,\sit\sis\sa\sbit\squestionable\show\sit\sis\simplemented\scurrently,\sat\sleast\sin\spositive\s(good)\scase\sif\sthe\sheaders\svalue\sis\sinitially\sa\sdict.\r\n\r\nBecause\sthen\sthis\sdict\sobject\swould\sshimmer\stwice:\r\n\r\n\s\s\s\s-\sonce\sby\s<code>[string\sis\s$type($flag)\s-strict\s$value]</code>\s(or\seven\sby\s<code>[llength\s$value]</code>)\sto\sa\slist;<br>\r\n\s\s\s\s-\sand\shereafter\sby\s<code>dict\sfor\s{key\svalue}\s$state(-headers)</code>\sback\sto\sthe\sdict.\r\n\r\nFor\srequests\swith\slarge\sheaders\sas\sdictionary\sit\scould\sbe\sunwanted.\r\n\r\nSince\s8.7\sit\sis\senough\sto\sdefine\stype\sof\sheaders\sas\s"dict"\s(without\sspecial\scheck\swith\sllength).\r\nFor\s8.6\s(missing\s<code>[string\sis\sdict\s...]</code>)\sit\scould\sbe\simplemented\sdifferently\s(e.\sg.\swithout\scheck\sof\stype,\swith\ssome\sdict\scommand,\slike\s<code>[dict\ssize]</code>).
J login sebres
J mimetype text/x-fossil-wiki
K 0063cbcada41024be2d778dc719a64fe2144e0aa
U sebres
Z d24e5891c90ad0357083580b3b54bdd7