BTW I also wrote a more complete lower level implementation too:

https://github.com/adamdruppe/misc-stuff-including-D-programming-language-web-stuff/blob/master/http.d

My code is kinda ugly, but might be useful to refer to too. http has some other features you'll need to think about, like chunked data transfer, to have a more complete implementation, and I have some openssl code in there too. Of course, curl takes care of all this too.

Reply via email to