Click here to get back home

http request headers

 HomeNewsGroups | Search | About
 comp.lang.perl.modules    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
http request headers Chetan Ganjihal 10-01-2004
Get Chitika Premium
Posted by Chetan Ganjihal on October 1, 2004, 12:47 pm
Please log in for more thread options
I have a proxy which might delete/insert http request headers.
I need a way to list the http request headers. How can i do it with perl.

TIA,



Posted by John Bokma on October 1, 2004, 8:18 am
Please log in for more thread options
fe.eng.netapp.com:

> I have a proxy which might delete/insert http request headers.
> I need a way to list the http request headers. How can i do it with perl.

print works for me most of the time:

perldoc -f print

You should give more info, and I guess you are in the wrong group, since I
don't see references to Perl modules you are using or want to use.

--
John MexIT: http://johnbokma.com/mexit/
personal page: http://johnbokma.com/
Experienced programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html


Posted by Chetan Ganjihal on October 1, 2004, 7:31 pm
Please log in for more thread options
was wondering if we could use any of the LWP, HTTP::Header,
HTTP::Request modules for this purpose.
Basically i need to send a request to a server and i need to figure a
way out which will give me the list of http request headers that went
along with the request ( maybe using any of the modules mentioned above)
this is why i chose this group.

-thanks
chetan

John Bokma wrote:
> fe.eng.netapp.com:
>
>
>>I have a proxy which might delete/insert http request headers.
>>I need a way to list the http request headers. How can i do it with perl.
>
>
> print works for me most of the time:
>
> perldoc -f print
>
> You should give more info, and I guess you are in the wrong group, since I
> don't see references to Perl modules you are using or want to use.
>




Posted by John Bokma on October 1, 2004, 7:07 pm
Please log in for more thread options

> was wondering if we could use any of the LWP, HTTP::Header,
> HTTP::Request modules for this purpose.
> Basically i need to send a request to a server and i need to figure a
> way out which will give me the list of http request headers that went
> along with the request ( maybe using any of the modules mentioned
> above) this is why i chose this group.

Ok, clear.

I have no idea of the above modules can print themselves in order the
headers are send. Otherwise, just make a small Perl script that runs as a
webserver on port 80 of local host, and print what you get. I guess that
this can be done in about 12 lines of Perl :-D.

--
John MexIT: http://johnbokma.com/mexit/
personal page: http://johnbokma.com/
Experienced programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html


Similar ThreadsPosted
Parse tcpdump for HTTP Request Response Headers July 29, 2007, 2:10 pm
Net::Analysis Parse tcpdump for HTTP Request/Response Headers July 29, 2007, 6:41 am
http headers with CGI.pm and mod_perl (bug?) November 10, 2004, 10:19 pm
Help regarding HTTP::Request:POST February 24, 2006, 11:31 pm
HTTP::Request::Common::POST and UTF-8 September 27, 2005, 12:21 pm
troubles with HTTP::Request::Common March 8, 2005, 11:42 pm
How can I make HTTP::Request handle gzipped content? September 3, 2004, 2:11 am
HTTP::Request::Form - Problem pressing input type=image button February 1, 2005, 7:56 am
XML::Twig parseurl with input Headers/XML January 16, 2005, 10:58 pm
Premature Ending of script headers August 17, 2005, 4:53 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap