-
Notifications
You must be signed in to change notification settings - Fork 0
Description
The current HTTP client implementation for full text documents doesn't support redirects or moved permanent responses from resources.
compare: http://stackoverflow.com/questions/1884230/java-doesnt-follow-redirect-in-urlconnection
example:
curl -I 'https://www.edubs.ch/unterstuetzung/buecher/bibliothek/angebot/inhaltsverzeichnisse/pzb-d-32-20-9-10-deutsch-an-stationen.pdf'
HTTP/1.1 301 Moved Permanently
Date: Fri, 19 Jun 2015 15:31:40 GMT
Server: Zope/(2.13.21, python 2.7.8, linux2) ZServer/1.1
Strict-Transport-Security: max-age=63072000; includeSubDomains
Content-Length: 15197
Content-Language: de
Expires: Sat, 01 Jan 2000 00:00:00 GMT
X-Ua-Compatible: IE=edge,chrome=1
Content-Type: text/html;charset=utf-8
Location: https://www.edubs.ch/unterstuetzung/bibliothek/bibliothek/angebot/inhaltsverzeichnisse/pzb-d-32-20-9-10-deutsch-an-stationen.pdf
Cache-control: private
Set-Cookie: serverid=p0101; path=/
Vary: Accept-Encoding
The permanently moved document won't be parsed and thereafter used as fulltext search document although the link is configured in our properties file.
Example www.swissbib.ch
https://www.swissbib.ch/Record/328655201