Skip to content

Commit

Permalink
*) bugfix for ViewFile.java. Wrong http header were used
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2488 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
theli committed Sep 4, 2006
1 parent 7a35b8e commit 2126c51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htroot/ViewFile.java
Expand Up @@ -173,7 +173,7 @@ public static serverObjects respond(httpHeader header, serverObjects post, serve
prop.put("viewMode_plainText",content);
} else if (viewMode.equals("parsed") || viewMode.equals("sentences") || viewMode.equals("iframe")) {
// parsing the resource content
plasmaParserDocument document = sb.snippetCache.parseDocument(url, resource,header);
plasmaParserDocument document = sb.snippetCache.parseDocument(url, resource,resHeader);
if (document == null) {
prop.put("error",5);
prop.put("viewMode",VIEW_MODE_NO_TEXT);
Expand Down

0 comments on commit 2126c51

Please sign in to comment.