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
WebDAO::CV(3) User Contributed Perl Documentation WebDAO::CV(3)

from url: http://testwd.zag:82/Envs/partsh.sd?23=23 where options:

    -path_info  -> /Envs/partsh.sd
    -base       -> http://example.com:82

defaul http://testwd.zag:82/Envs/partsh.sd?23=23

retrun HTTP method

return hashref

    {
           'application/xhtml+xml' => undef,
           'application/xml' => undef,
           'text/html' => undef
      };

return params

Return HTTP body file descriptor

    my $body;
    {
        local $/;
        my $fd = $request->body;
        $body = <$fd>;
     }

Return HTTP body text

    my $body= $r->get_body;

        print Dumper $request->upload;

For command:

 curl -i -X POST -H "Content-Type: multipart/form-data"\
        -F "data=@UserSettings.txt"\
        http://example.org/Upload

output:

    {
      'data' => {
        'headers' => {
          'Content-Type' => 'text/plain',
          'Content-Disposition' => 'form-data; name="data"; filename="UserSettings.txt"'   
          },
        'tempname' => '/tmp/txBmaz5Bpf.txt',
        'size' => 6704,
        'filename' => 'UserSettings.txt',
        'name' => 'data'
      }
    };

   $cv->set_header("Content-Type" => 'text/html; charset=utf-8')

print_headers [ header1=>value, ...]

Method for output headers

return hashref to {key=>value}
2015-12-18 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

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