[drakma-devel] Not following redirects and conditions

Saurabh Nanda saurabhnanda at gmail.com
Fri Feb 9 12:21:37 UTC 2007


Super! It works -- I should probably read the documentation more
carefully the next time around!

Nandz.

On 2/9/07, Edi Weitz <edi at agharta.de> wrote:
> Hi,
>
> On Fri, 9 Feb 2007 17:31:18 +0530, "Saurabh Nanda" <saurabhnanda at gmail.com>
> wrote:
>
> > 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.
>
> How about setting :REDIRECT to NIL?  See also :REDIRECT-METHODS.
>
> Cheers,
> Edi.
> _______________________________________________
> drakma-devel mailing list
> drakma-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/drakma-devel
>


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



More information about the Drakma-devel mailing list