18 lines
355 B
Text
18 lines
355 B
Text
$ begin example example.com 443 -- 443 is the SSL port
|
|
$ ssl example
|
|
-- Sends an SSL request
|
|
GET / HTTP/1.0\r\n
|
|
Host: example.com\r\n
|
|
\r\n
|
|
$ read example
|
|
$ end example
|
|
|
|
$ begin ari ari.lt 80 -- Plain HTTP
|
|
GET / HTTP/1.0\r\n
|
|
Host: ari.lt\r\n
|
|
X-Test: print %uuid 4%\r\n
|
|
%randhead%: %randstr%\r\n
|
|
\r\n
|
|
$ print -- Prints session stack
|
|
$ read ari
|
|
$ end ari
|