http_getter_misc.cmi http_getter_types.cmo http_getter_env.cmi
http_getter_env.cmx: http_getter_const.cmx http_getter_logger.cmx \
http_getter_misc.cmx http_getter_types.cmx http_getter_env.cmi
-http_getter_common.cmo: http_getter_env.cmi http_getter_logger.cmi \
- http_getter_misc.cmi http_getter_types.cmo http_getter_common.cmi
-http_getter_common.cmx: http_getter_env.cmx http_getter_logger.cmx \
- http_getter_misc.cmx http_getter_types.cmx http_getter_common.cmi
+http_getter_common.cmo: http_getter_env.cmi http_getter_misc.cmi \
+ http_getter_types.cmo http_getter_common.cmi
+http_getter_common.cmx: http_getter_env.cmx http_getter_misc.cmx \
+ http_getter_types.cmx http_getter_common.cmi
http_getter_map.cmo: http_getter_map.cmi
http_getter_map.cmx: http_getter_map.cmi
http_getter_cache.cmo: http_getter_common.cmi http_getter_env.cmi \
;;
let get_and_save uri dest_filename =
- let reply = get uri
- and out_channel = open_out dest_filename in
- output_string out_channel reply ;
- close_out out_channel
+ let out_channel = open_out dest_filename in
+ Http_user_agent.get_iter (output_string out_channel) uri;
+ close_out out_channel
;;
let get_and_save_to_tmp uri =