help-smalltalk
[Top][All Lists]
Advanced

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

[Help-smalltalk] Re: NetClients HTTP and handling errors


From: Paolo Bonzini
Subject: [Help-smalltalk] Re: NetClients HTTP and handling errors
Date: Mon, 21 Mar 2011 11:13:26 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7

On 03/21/2011 08:28 AM, Paolo Bonzini wrote:
On Sun, Mar 20, 2011 at 08:55, Holger Hans Peter Freyther
<address@hidden>  wrote:
Hi Paolo,

for the HTTP implementation in NetClients it would be nice if instead of
exceptions for the 40x and 30x I would get a proper response. Right now for a
HTTP Redirect I will not be able to get the response code or the content that
was sent. Would you mind adding a method to inhibit these exceptions?

I need to look at the code, but I wonder if you just need to handle
them and resume them.

Alternatively, the response could be included in the exception.

Perhaps something like this would help?

Paolo

Attachment: http.patch
Description: Text document


reply via email to

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