Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 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