perl-HTTP-Tiny-FileProtocol-0.05-alt1.noarch.rpm


Advertisement

Description

perl-HTTP-Tiny-FileProtocol - Add support for file:// protocol to HTTP::Tiny

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-HTTP-Tiny-FileProtocol
Package version 0.05
Package release alt1
Package architecture noarch
Package type rpm
Installed size 13.71 KB
Download size 13.71 KB
Official Mirror ftp.altlinux.org
use HTTP::Tiny;
use HTTP::Tiny::FileProtocol;
my $http = HTTP::Tiny->new;
my $response        = $http->get( 'file:///tmp/data.txt' );
my $mirror_response = $http->get( 'file:///tmp/data.txt', 'data.txt' );
will return
{
success => 1,
status  => 200,
content => $content_of_file
headers => {
content_type   => 'text/plain',
content_length => $length_of_content,
},
}

Alternatives

Package Version Architecture Repository
perl-HTTP-Tiny-FileProtocol - - -

Requires

Name Value
/usr/share/perl5 -
perl(Fcntl.pm) -
perl(File/Basename.pm) -
perl(HTTP/Tiny.pm) -
perl(LWP/MediaTypes.pm) >= 6.020
perl(bytes.pm) -
perl-base >= 1:5.10.0
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(HTTP/Tiny/FileProtocol.pm) = 0.050
perl-HTTP-Tiny-FileProtocol = 0.05-alt1

Download

Type URL
Binary Package perl-HTTP-Tiny-FileProtocol-0.05-alt1.noarch.rpm
Source Package perl-HTTP-Tiny-FileProtocol-0.05-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-HTTP-Tiny-FileProtocol rpm package:
    # sudo apt-get install perl-HTTP-Tiny-FileProtocol

Files

Path
/usr/share/doc/perl-HTTP-Tiny-FileProtocol-0.05/Changes
/usr/share/doc/perl-HTTP-Tiny-FileProtocol-0.05/LICENSE
/usr/share/doc/perl-HTTP-Tiny-FileProtocol-0.05/README
/usr/share/perl5/HTTP/
/usr/share/perl5/HTTP/Tiny/FileProtocol.pm

See Also

Package Description
perl-HTTP-Tiny-Mech-1.001002-alt1.noarch.rpm Wrap a WWW::Mechanize instance in an HTTP::Tiny compatible interface
perl-HTTP-Tiny-Multipart-0.08-alt1.noarch.rpm Add post_multipart to HTTP::Tiny
perl-HTTP-Tiny-Paranoid-0.07-alt1.noarch.rpm A safer HTTP::Tiny
perl-HTTP-Tiny-Patch-Cache-0.001-alt1.noarch.rpm Cache HTTP::Tiny responses
perl-HTTP-Tiny-Patch-LogAny-0.03-alt1.noarch.rpm Log HTTP::Tiny with Log::Any
perl-HTTP-Tiny-Patch-LogGer-0.001-alt1.noarch.rpm Log HTTP::Tiny with Log::ger
perl-HTTP-Tiny-ProgressAny-0.03-alt1.noarch.rpm See progress for your HTTP::Tiny requests
perl-HTTP-Tiny-UA-0.006-alt1.noarch.rpm Higher-level UA features for HTTP::Tiny
perl-HTTP-Tiny-UNIX-0.051-alt1.noarch.rpm A subclass of HTTP::Tiny to connect to HTTP server over Unix socket
perl-HTTP-Tinyish-0.14-alt1.noarch.rpm HTTP::Tiny compatible HTTP client wrappers
perl-HTTP-UA-Parser-0.006-alt1.noarch.rpm Perl User Agent Parser
perl-HTTP-UA-Parser-scripts-0.006-alt1.noarch.rpm HTTP-UA-Parser scripts
perl-HTTP-Upload-FlowJs-0.01-alt1.noarch.rpm handle resumable multi-part HTTP uploads with flowjs
perl-HTTP-UserAgentString-Parser-0.6.1-alt1.noarch.rpm perl module HTTP-UserAgentString-Parser
perl-HTTP-Validate-0.981-alt1.noarch.rpm validate and clean HTTP parameter values according to a set of rules
Advertisement
Advertisement