Stefano Zacchiroli wrote:
On Tue, Feb 01, 2005 at 01:24:18PM -0500, Eric C. Cooper wrote:Thanks, the new interface is all I need now for HTTP methods. But I also need FTP methods for some repositories, and maybe also HTTPS, preferably with a consistent interface. Libcurl gives me this "for free".Ok, I can consider adding HTTPS support, but not in the near future. Regarding FTP it would be easy to implement, but it wont definitely be part of ocaml-http, I would have to change the name :)
Concerning https, it's only http over ssl, if I'm not wrong.You could then simply use my ocaml-ssl library (see savonet.sf.net) which consists in bindings for the libssl. There's still a small amount of work left to be thread-safe (if you use threads) but with some help it could be done quickly.
Regards, Samuel.