Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

fix typing error from commit https://github.com/yacy/yacy_search_server/commit/60ba5c117c4bd7aa30969a9943cc57762c0ab4ba

reger9a8691129fcc
diff --git a/source/net/yacy/server/http/HTTPDemon.java b/source/net/yacy/server/http/HTTPDemon.java
index b70b3ffa8..2245964c4 100644
--- a/source/net/yacy/server/http/HTTPDemon.java
+++ b/source/net/yacy/server/http/HTTPDemon.java
@@ -273,7 +273,7 @@ public final class HTTPDemon {
responseHeader.put(HeaderFramework.CONTENT_LENGTH, "0");
//read custom headers
- if (responseHeader.getContentType() != null) {
+ if (responseHeader.getCookiesEntries() != null) {
for (Cookie c : responseHeader.getCookiesEntries()) {
//Append user properties to the main String
//TODO: Should we check for user properites. What if they intersect properties that are already in header?