in reply to ASP's with lwp
when I do the same in LWP it looks like:GET / HTTP/1.1 Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, applicati +on/msword, application/vnd.ms-excel, application/vnd.ms-powerpoint, a +pplication/x-shockwave-flash, */* Accept-Language: nl Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Host: www.emileaben.com Connection: Keep-Alive
You can make dumps like this with a packetsniffer (tcpdump, ethereal). My guess is you have to add/change your LWP request so it more closely resembles the Internet Explorer one. An obvious first try is to change the User-Agent header using the agent method of a LWP::UserAgent. Hope this helps.GET / HTTP/1.1 TE: deflate,gzip;q=0.3 Connection: TE, close Host: www.emileaben.com User-Agent: libwww-perl/5.69
|
|---|