Subject: | GET Bug while using a Proxy (?) |
Hello there,
I just tried Tinysong (0.03) with $ts->env_proxy; at work (WindowsXP
Prof -> ActiveStatePerl v5.8.8) and the problem is that we use a Proxy.
I use PPM so I set the http_proxy & user variables to connect to the
internet so I wondered why I got a 400 - Bad Request Error and looked it
up on the net but found nothing.
After reading the examples at LWP::UserAgent & LWP and noticed the
difference in writing the request url:
in the tinysong.pm the url is written like this (correct me if I'm wrong):
http://tinysong.com?s=%s&limit=%d
with this url I got the error so I changed the url to:
http://tinysong.com/?s=%s&limit=%d
and my problem was solved.
I really don't know if or why it affects tinysong (or if the same
problem occurs in a non-proxy enviroment) but it seems to be the case at
least with my perl version and ActiveStatePerl.
Thanks for this greate module and sorry for my bad english.
Greetings from Germany,
Sebastian Holzner
<savethebeas@yahoo.de>