2010-09-01から1ヶ月間の記事一覧

LWP で TEをとろう

GET /hoge.php?q=pon HTTP/1.1 TE: deflate,gzip;q=0.3 Connection: TE TEを取りましょう。LWP/Protocol/http.pm my $sock = $self->socket_class->new(PeerAddr => $host, PeerPort => $port, Proto => 'tcp', Timeout => $timeout, KeepAlive => !!$conn_c…