CGI::Application::Plugin::DevPopup::HTTPHeaders - show incoming and outgoing
HTTP headers
use CGI::Application::Plugin::DevPopup;
use CGI::Application::Plugin::DevPopup::HTTPHeaders;
The rest of your application follows
...
Output looks roughly like this:
Incoming HTTP Headers
-----------------------------------
http
-----------------------------------
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_CHARSET UTF-8,*;q=0.5
HTTP_HOST www.example.com
Outgoing HTTP Headers
-----------------------------------
Content-Type: text/html; charset=utf8
Environment Dump
-----------------------------------
CAP_DEVPOPUP_EXEC 1
DOCUMENT_ROOT /var/www/html
GATEWAY_INTERFACE CGI/1.1
QUERY_STRING
REMOTE_ADDR 127.0.0.1
For obvious reasons, the outgoing headers only display what CGI::Application
will generate.
CGI::Application::Plugin::DevPopup, CGI::Application
Rhesa Rozendaal, rhesa@cpan.org
Please report any bugs or feature requests to
bug-cgi-application-plugin-devpopup@rt.cpan.org, or through the web interface
at
<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=CGI-Application-Plugin-DevPopup>.
I will be notified, and then you'll automatically be notified of progress on
your bug as I make changes.
Copyright 2005 Rhesa Rozendaal, all rights reserved.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.