Homec4science

bibdocfile: guess_format_from_url() improvement

Authored by Samuele Kaplun <samuele.kaplun@cern.ch> on Oct 18 2012, 15:03.

Description

bibdocfile: guess_format_from_url() improvement

  • Further improve guess_format_from_url() by ignoring default 'text/plain' and 'application/octet-stream' mimetypes often returned as defaults mimetype in case the web server wasn't able to properly choose a mimetype.

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Oct 18 2012, 15:42
Parents
R3600:68487a793681: bibdocfile: guess_format_from_url() improvements
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:416c12068594: bibdocfile: guess_format_from_url() improvement (authored by Samuele Kaplun <samuele.kaplun@cern.ch>).Oct 18 2012, 15:42