| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
|
2
|
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package HTTP::Engine::Role::RequestBuilder; |
|
4
|
56
|
|
|
56
|
|
41301
|
use Any::Moose '::Role'; |
|
|
56
|
|
|
|
|
143
|
|
|
|
56
|
|
|
|
|
496
|
|
|
5
|
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
# initialize reading structures |
|
7
|
|
|
|
|
|
|
requires "_build_read_state"; |
|
8
|
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
# connection info is a hash of address, port, https info, user, etc. |
|
10
|
|
|
|
|
|
|
# stuff that goes in env. |
|
11
|
|
|
|
|
|
|
requires "_build_connection_info"; |
|
12
|
|
|
|
|
|
|
requires "_build_hostname"; |
|
13
|
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
# parsed from the HTTP message or provided explicitly or from connection->{env} |
|
15
|
|
|
|
|
|
|
requires "_build_uri"; |
|
16
|
|
|
|
|
|
|
requires "_build_headers"; |
|
17
|
|
|
|
|
|
|
requires "_build_cookies"; |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
# these two |
|
20
|
|
|
|
|
|
|
requires "_build_raw_body"; |
|
21
|
|
|
|
|
|
|
requires "_build_http_body"; |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
__PACKAGE__ |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
__END__ |