hi again, i was actually looking for modules that split the following into name/value pairs. the following is a typical request header from a web browser(eg.IE/netscape).
more details on what i'm doing: i'm doing a simple proxy server. the web browser sends the request, the server uses sysread() (eg. sysread($client_socket, $buffer, 4096) )to read in the request into $buffer. thus $buffer contains the below string. i need to split it into name/value pairs or any other form which would be easier to process the request. GET http://doramaworks.tripod.com/lyrics/sissel01.html HTTP/1.0 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */* Accept-Language: en-us Cookie: CookieStatus=COOKIE_OK User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; Q312461) Host: doramaworks.tripod.com Proxy-Connection: Keep-Alive > > > > --- Conan Chai <[EMAIL PROTECTED]> wrote: > > > hi, > > > > > > are there any perl modules that splits the http > > > request headers into name/value pairs? > > > > > > Conan > > > It Will Come To Us !!! > > > [EMAIL PROTECTED] > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Games - play chess, backgammon, pool and > more > > http://games.yahoo.com/ > > > > -- > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > ===== It Will Come To Us !!! [EMAIL PROTECTED] __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Instant Messaging, Instant Gratification. (Now with new emoticons!) http://messenger.yahoo.com.sg/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]