HTTP

From Rosetta Code
Revision as of 23:17, 25 September 2008 by 200.102.26.6 (talk)
Task
HTTP
You are encouraged to solve this task according to the task description, using any language you may know.

Print a URL's content.

Perl

<perl>using LWP::Simple; print get("http://www.rosettacode.org")</perl>

Python

<python>import urllib print urllib.urlopen("http://www.rosettacode.org").read()</python>