Hi,

http(1) is a drop-in substitute for ftp(1)'s "AUTO-FETCHING FILES"
mode. It defaults to HTTP method when the url doesn't specify the
protocol and supports transferring files from HTTP(S) and FTP
servers. The FTP support is limited to file transfer and doesn't
do command interpretation.  It works[0] with pkg_add(1) and related
tools when set as FETCH_CMD. A SMALL variant could be built by
disabling FTP and HTTPS support.

Source: http://www.nimmagadda.net/http.tar.gz

Thanks Patrick Keshishian and sthen@ for spotting "Host" header bug
in previous version.

Comments/Suggestions to improve it are most welcome.

[0] Needs this small pkg_add(1) diff to get rid of the error messages
when fetching for a FTP server...
http://marc.info/?l=openbsd-tech&m=143966672102753&w=2

Reply via email to