#252: BibIndex: Allow using custom HTTP headers to retrieve URLs
--------------------------+-------------------------------------------------
Reporter: bthiell | Owner: bthiell
Type: enhancement | Status: assigned
Priority: major | Milestone:
Component: BibIndex | Version:
Resolution: | Keywords: headers
--------------------------+-------------------------------------------------
Comment (by bthiell):
Proposed a patch for that. See [http://github.com/badzil/My-
Invenio/commit/ef69f90dcff9ccde33b6172c34950fdd9a7491c6].
This patch has several implications as it modifies 3 methods of bibdocfile
used by several other modules:
* guess_format_from_url: used by bibindex_engine, bibupload and
bibdocfilecli.
* check_valid_url: used by bibupload and bibdocfilecli.
* download_url: used by bibindex_engine and bibupload.
All these modules might have undesired behaviors when a URL is not
described in CFG_BIBUPLOAD_FFT_ALLOWED_EXTERNAL_TAGS. Also if no "wide"
regex is specified at the end of the config variable (e.g. 'http://*'), no
unauthorized URL will be downloaded. This is described in invenio.conf.
Also related to #57 (Invenio should identify itself through the user
agent).
--
Ticket URL: <http://invenio-software.org/ticket/252#comment:6>
Invenio <http://invenio-software.org>