Source

ocaml-bitbucket / xcurl.ml

Diff from to
   h#perform;
   h#cleanup; (* Need to flush out cookies *)
   close_out oc;
-  (* CR jfuruse: what to do files when code <> 200? *)
+  (* CR jfuruse: what should we do for the file when the code is not 200? *)
   ok200 (h#get_httpcode, Unix.rename tmp dst)