
Net::HTTP::Spore::Request - Net::HTTP::Spore::Request - Portable HTTP request object from SPORE env hash

version 0.06

use Net::HTTP::Spore::Request;
my $request = Net::HTTP::Spore::Request->new($env);

Net::HTTP::Spore::Request create a HTTP request

my $req = Net::HTTP::Spore::Request->new();
Creates a new Net::HTTP::Spore::Request object.
my $env = $request->env;
Get the environment for the given request
my $method = $request->method;
Get the HTTP method for the given request
my $port = $request->port;
Get the HTTP port from the URL
my $script_name = $request->script_name;
Get the script name part from the URL
my $path = $request->path_info;
Get the path info part from the URL
my $request_uri = $request->request_uri;
Get the request uri from the URL
my $scheme = $request->scheme;
Get the scheme from the URL
my $secure = $request->secure;
Return true if the URL is HTTPS
my $input = $request->input;
Get the content that will be posted


This software is copyright (c) 2012 by linkfluence.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.