Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
3
Task/HTTP/Raku/http-1.raku
Normal file
3
Task/HTTP/Raku/http-1.raku
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
use LWP::Simple;
|
||||
|
||||
print LWP::Simple.get("http://www.rosettacode.org");
|
||||
5
Task/HTTP/Raku/http-2.raku
Normal file
5
Task/HTTP/Raku/http-2.raku
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
my $socket = IO::Socket::INET.new(host => "www.rosettacode.org",
|
||||
port => 80,);
|
||||
$socket.print("GET / HTTP/1.0\r\n\r\n");
|
||||
print $socket.recv();
|
||||
$socket.close;
|
||||
Loading…
Add table
Add a link
Reference in a new issue