copy to h3

Fix for [HER-1552] Redirects not reported in seeds-report
* ExtractorHTTP.java
    restore expected convention of http-header context ending in ':'
This commit is contained in:
gojomo
2009-05-14 22:10:06 +00:00
parent a1e9d064da
commit 58d2a2ec31
@@ -73,7 +73,7 @@ public class ExtractorHTTP extends Extractor {
// TODO: consider possibility of multiple headers
try {
UURI dest = UURIFactory.getInstance(curi.getUURI(), loc.getValue());
LinkContext lc = new HTMLLinkContext(loc.getName()); // FIXME
LinkContext lc = new HTMLLinkContext(loc.getName()+":");
Link link = new Link(curi.getUURI(), dest, lc, Hop.REFER);
curi.getOutLinks().add(link);
numberOfLinksExtracted++;