Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Becker2013-07-01 15:08:35 +0000
committerThomas Becker2013-07-01 15:08:35 +0000
commit260b21f7df79f6b5c4d3b8705998398d1c98ea80 (patch)
tree843725210a13798016b57b8fb9622e95ce7aacb7 /jetty-http
parentd2470f61709dc0a3f9a27eb116c97d55442a14ad (diff)
downloadorg.eclipse.jetty.project-260b21f7df79f6b5c4d3b8705998398d1c98ea80.tar.gz
org.eclipse.jetty.project-260b21f7df79f6b5c4d3b8705998398d1c98ea80.tar.xz
org.eclipse.jetty.project-260b21f7df79f6b5c4d3b8705998398d1c98ea80.zip
405424 add X-Powered-By and Server header to SPDY
Diffstat (limited to 'jetty-http')
-rw-r--r--jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java
index e02485b643..69313cae7a 100644
--- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java
+++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpGenerator.java
@@ -56,9 +56,9 @@ public class HttpGenerator
private boolean _noContent = false;
private Boolean _persistent = null;
- private final int _send;
- private final static int SEND_SERVER=0x01;
- private final static int SEND_XPOWEREDBY=0x02;
+ public final int _send;
+ public final static int SEND_SERVER=0x01;
+ public final static int SEND_XPOWEREDBY=0x02;
/* ------------------------------------------------------------------------------- */
@@ -862,7 +862,7 @@ public class HttpGenerator
private static final byte[] HTTP_1_1_SPACE = StringUtil.getBytes(HttpVersion.HTTP_1_1+" ");
private static final byte[] CRLF = StringUtil.getBytes("\015\012");
private static final byte[] TRANSFER_ENCODING_CHUNKED = StringUtil.getBytes("Transfer-Encoding: chunked\015\012");
- private static final byte[][] SEND = new byte[][]{
+ public static final byte[][] SEND = new byte[][]{
new byte[0],
StringUtil.getBytes("Server: Jetty(9.x.x)\015\012"),
StringUtil.getBytes("X-Powered-By: Jetty(9.x.x)\015\012"),

Back to the top