Claudio Sacerdoti Coen <[email protected]> wrote:
> Package: libhttp-ocaml-dev
> Version: 0.1.4-2+b1
> Severity: normal
> 
> 
> libhttp-ocaml-dev: Not_found raised in Http_user_agent.head when the
> host does not exists.
> 

I'm not sure what the correct behaviour should be here. Could you suggest
something? I thought about raising an (Http_error (503, "")) (Service 
Unavailable)
or (Http_error (118, "")) (Connection timed out) but it is not really an HTTP
error here... or add a new exception (Unknown_host of string?).

-- 
Mehdi Dogguy



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to