chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] http-client: distinguishing between responses 301 an


From: Peter Bex
Subject: Re: [Chicken-users] http-client: distinguishing between responses 301 and 302
Date: Fri, 19 Oct 2018 10:42:23 +0200
User-agent: NeoMutt/20170113 (1.7.2)

On Thu, Oct 18, 2018 at 06:19:22PM +0100, Norman Gray wrote:
> If I parameterise that with (parameterize ((max-redirect-depth 0)) ...),
> then the client library doesn't follow the redirection but instead raises
> (exn http redirect-depth-exceeded).  That's almost there, except that the
> exception doesn't contain information about _which_ redirection, 301 or 302,
> prompted it.

Hi Norman,

This is definitely an oversight on my part; a http-client-error condition
object should always contain a response object when there is one.

I've just pushed 0.18 (for C4) and 1.1 (for C5), please give it a try.

Cheers,
Peter

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]