Open acabrol opened 6 years ago
As work around pdf mime type is forced when ".pdf" is included in the link.
However for arxiv the pdf files seem to be non standard format:
ShellError: The command
pdftotext /tmp/tmp87ul1x -failed with exit code 1 ------------- stdout ------------- ------------- stderr ------------- Syntax Warning: May not be a PDF file (continuing anyway) Syntax Error (2): Illegal character <21> in hex string Syntax Error (4): Illegal character <4f> in hex string Syntax Error (6): Illegal character <54> in hex string Syntax Error (7): Illegal character <59> in hex string Syntax Error (8): Illegal character <50> in hex string Syntax Error (11): Illegal character <48> in hex string Syntax Error (12): Illegal character <54> in hex string Syntax Error (13): Illegal character <4d> in hex string Syntax Error (14): Illegal character <4c> in hex string Syntax Error (16): Illegal character <50> in hex string Syntax Error (17): Illegal character <55> in hex string
DFM doesn't get the correct content type for some documents.
Here under an example:
CURL request:
DFM Log: