Re: A few questions.....

Jan-Simon Pendry (jsp@ms.com)
Thu, 24 Jun 1999 17:39:26 +0100


jerome@psti.com wrote:
>
> the advantage of open("http://www.site.org"); vs open_http("www.site.org");
> is the possiblity of the existing code -without- modification. all
> the current tools would work as is.
>
> example: cat http://www.site.org/index.html | less

use the perl GET command ...

GET http://www.site.org/index.html | less

or use a shell (which is there for a reason)

diff <(GET http://sometime.org) <(GET http://sometime.com)

a large problem with hiding this functionality inside open() is
that the URL is not the only attribute being sent in the HTTP/1.1
GET request. also, what interface would you provide for PUT and
POST?

jan-simon.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/