Changes

Summary

  1. - Handle the rare but possible case, when the http-connection occurred with "HEAD", but the page is about to be visited, thus the html-content won't be retrieved. Now a "GET"-reconnection takes place. (commit: 9f0535a) (details)
Commit 9f0535a0ce201c5265eccbaf9f488d1d79926226 by Lampros Smyrnaios
- Handle the rare but possible case, when the http-connection occurred with "HEAD", but the page is about to be visited, thus the html-content won't be retrieved. Now a "GET"-reconnection takes place.
- Put the "checkForHEADConnectionAndReconnectIfNeededWitGET"-code in its own method.
- Add some error-logs.
- Code polishing.
(commit: 9f0535a)
The file was modifiedsrc/main/java/eu/openaire/publications_retriever/util/http/HttpConnUtils.java (diff)
The file was modifiedsrc/main/java/eu/openaire/publications_retriever/util/http/ConnSupportUtils.java (diff)