GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  HTTP::SERVER::SIMPLE::CGI::ENVIRONMENT (3)

.ds Aq ’

NAME

HTTP::Server::Simple::CGI::Environment - a HTTP::Server::Simple mixin to provide the CGI protocol

CONTENTS

DESCRIPTION

This mixin abstracts the CGI protocol out from HTTP::Server::Simple::CGI so that it’s easier to provide your own CGI handlers with HTTP::Server::Simple which <B>don’tB> use CGI.pm

    setup_environment

setup_environemnt is usually called in the superclass’s accept_hook

This routine in this sub-class clears the environment to the start-up state.

    setup_server_url

Sets up the SERVER_URL environment variable

    setup_environment_from_metadata

This method sets up CGI environment variables based on various meta-headers, like the protocol, remote host name, request path, etc.

See the docs in HTTP::Server::Simple for more detail.

    header

header turns a single HTTP headers into CGI environment variables.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 HTTP::SERVER::SIMPLE::CGI::ENVIRONMENT (3) 2015-09-16

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.