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

Bug#473579: libhttp-ocaml-dev: Not_found raised in Http_user_agent.head when the host does not exists.



Claudio Sacerdoti Coen <sacerdot@cs.unibo.it> 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



Reply to: