Homec4science

bibdocfile: improvements of URL handling methods

Authored by Benoit Thiell <bthiell@cfa.harvard.edu> on Aug 26 2010, 17:19.

Description

bibdocfile: improvements of URL handling methods

  • When guessing the format of a file, perform a HEAD request.
  • When downloading a file, use only one socket to get the format and download the file.
  • New download_local_file() and download_external_url() functions. (closes #252)

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Aug 5 2011, 14:28
Parents
R3600:3989d3af4ccb: WebSubmit: add 'asc' as a known file format
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:b0e823e98438: bibdocfile: improvements of URL handling methods (authored by Benoit Thiell <bthiell@cfa.harvard.edu>).Aug 5 2011, 14:28