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 committed 2009-05-14 22:10:06 +00:00
1 parent a1e9d064da
commit 58d2a2ec31
1 file changed
+1 -1
@@ -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++;