diff options
author | Thomas Becker | 2013-07-01 15:08:35 +0000 |
---|---|---|
committer | Thomas Becker | 2013-07-01 15:08:35 +0000 |
commit | 260b21f7df79f6b5c4d3b8705998398d1c98ea80 (patch) | |
tree | 843725210a13798016b57b8fb9622e95ce7aacb7 /jetty-http | |
parent | d2470f61709dc0a3f9a27eb116c97d55442a14ad (diff) | |
download | org.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.java | 8 |
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"), |