get rid of trailing line in HTTP response
fantuz opened this issue · 2 comments
fantuz commented
this print() shall be made so there is one less line
reasons:
- few bytes saved
- nicer
- extra pain in dnsp.c to handle such sequence of
\r\n\t
esay to sove, WIP.
fantuz commented
wip wip wip
many webservers do not agree on best separator.
need to classify in main types (php 7 and php 5 to mention two)
fantuz commented
Does not apply anymore as ALL servers follow ONLY the stable RFC8484 DoH format.
Hence, no HTTP parsing is done anymore, packet is brutally writte on the wire (as TCP or UDP RFC1035 standard response).
the access path MUST BE:
:method = GET
:scheme = https
:authority = dnsserver.example.net
:path = /dns-query?dns=AAABAAABAAAAAAAAA3d3dwdleGFtcGxlA2NvbQAAAQAB
accept = application/dns-udpwireformat