in reply to LWP UserAgent's agent method and browser check

LWP does not understand nor care about Javascript.

If you want to replicate what the browser is doing, capture the network traffic with a network sniffer like Wireshark and compare what headers your Perl code sends with what headers your browser sends. Eliminate all differences.

  • Comment on Re: LWP UserAgent's agent method and browser check