ignore (Http_user_agent.get cmd)
with e -> raise (Http_client_error (cmd, Printexc.to_string e))
ignore (Http_user_agent.get cmd)
with e -> raise (Http_client_error (cmd, Printexc.to_string e))
- Http_user_agent.get uri
- with e -> raise (Http_client_error (Printexc.to_string e, uri))
+ Http_user_agent.get url
+ with e -> raise (Http_client_error (Printexc.to_string e, url))
let flat_string s s' c =
let cs = String.copy s in
for i = 0 to (String.length s) - 1 do
if String.contains s' s.[i] then cs.[i] <- c
let flat_string s s' c =
let cs = String.copy s in
for i = 0 to (String.length s) - 1 do
if String.contains s' s.[i] then cs.[i] <- c