From 33bd4e6bc00b65b3a747a40f72dda59eb9674316 Mon Sep 17 00:00:00 2001 From: Gili Tzabari Date: Tue, 30 Jul 2019 12:50:45 -0400 Subject: [PATCH] Updated PR in response to comments. Signed-off-by: Gili Tzabari --- .../main/java/org/eclipse/jetty/server/HttpConfiguration.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConfiguration.java b/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConfiguration.java index 58ee9af8ac0..4de4848708c 100644 --- a/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConfiguration.java +++ b/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConfiguration.java @@ -322,6 +322,8 @@ public class HttpConfiguration implements Dumpable * Indicates if the {@code Date} header should be sent in responses. * * @param sendDateHeader true if the {@code Date} header should be sent in responses + * @see HTTP/1.1 Standard Header: Date + * @see #getSendDateHeader() */ public void setSendDateHeader(boolean sendDateHeader) { @@ -331,7 +333,7 @@ public class HttpConfiguration implements Dumpable /** * Indicates if the {@code Date} header will be sent in responses. * - * @return true if the {@code Date} header will be sent in responses + * @return true by default */ @ManagedAttribute("Whether to send the Date header in responses") public boolean getSendDateHeader()