Hi,

I'm trying to write some tests for an HTTP based API. I need to check whether a server responds with a 302 status code and then need to check the referred location as well, without actually visiting that link.

How is it possible with drakma? If I use :redirect 0 then the http-request function throws up an error.

TIA
Nandz.
--
http://nandz.blogspot.com
http://foodieforlife.blogspot.com