xrma / crawler4j

Automatically exported from code.google.com/p/crawler4j
0 stars 0 forks source link

fetchHeader Does a HTTP GET #238

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The fetchHeader method of PageFetcher does a HTTP GET instead of a HTTP HEAD 
(different to what the method name implies). So if I don't misunderstand the 
method, it should be "new HttpHead(toFetchURL)" instead of "new 
HttpGet(toFetchURL)".

Original issue reported on code.google.com by mlo...@weluse.de on 4 Oct 2013 at 4:04

GoogleCodeExporter commented 9 years ago

Original comment by avrah...@gmail.com on 18 Aug 2014 at 3:46

GoogleCodeExporter commented 9 years ago
You are absolutely right.

After thorough checking, it appears that we are fetching headers & content.

So I am changing the name to fetchPage

Original comment by avrah...@gmail.com on 11 Dec 2014 at 5:29

GoogleCodeExporter commented 9 years ago
Fixed in rev: fa59ff2537b3

Original comment by avrah...@gmail.com on 11 Dec 2014 at 8:03