File: get-06.txt

package info (click to toggle)
libhttp-tiny-perl 0.043-2~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 664 kB
  • sloc: perl: 2,651; makefile: 6
file content (19 lines) | stat: -rw-r--r-- 377 bytes parent folder | download | duplicates (17)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
url
  http://example.com/cb.html
expected
  abcdefghijklmnopqrstuvwxyz1234567890abcdef
data_cb
  sub { $main::data .= $_[0] }
----------
GET /cb.html HTTP/1.1
Host: example.com
Connection: close
User-Agent: HTTP-Tiny/VERSION

----------
HTTP/1.1 200 OK
Date: Thu, 03 Feb 1994 00:00:00 GMT
Content-Type: text/plain
Content-Length: 44

abcdefghijklmnopqrstuvwxyz1234567890abcdef