SM0 She11
Path:
/
/
usr
/
share
/
perl5
/
LWP
/
Protocol
Full Path (server): /usr/share/perl5/LWP/Protocol
Create Fil3
Upl04d Fil3
📄 GHTTP.pm
[E]
[D]
[R]
📄 cpan.pm
[E]
[D]
[R]
📄 data.pm
[E]
[D]
[R]
📄 file.pm
[E]
[D]
[R]
📄 ftp.pm
[E]
[D]
[R]
📄 gopher.pm
[E]
[D]
[R]
📄 http.pm
[E]
[D]
[R]
📄 loopback.pm
[E]
[D]
[R]
📄 mailto.pm
[E]
[D]
[R]
📄 nntp.pm
[E]
[D]
[R]
📄 nogo.pm
[E]
[D]
[R]
Editing: loopback.pm
package LWP::Protocol::loopback; use strict; use vars qw(@ISA); require HTTP::Response; require LWP::Protocol; @ISA = qw(LWP::Protocol); sub request { my($self, $request, $proxy, $arg, $size, $timeout) = @_; my $response = HTTP::Response->new(200, "OK"); $response->content_type("message/http; msgtype=request"); $response->header("Via", "loopback/1.0 $proxy") if $proxy; $response->header("X-Arg", $arg); $response->header("X-Read-Size", $size); $response->header("X-Timeout", $timeout); return $self->collect_once($arg, $response, $request->as_string); } 1;
Save