From 6158f7772fd321783ea0fffaf3df052f05c2e2bf Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Tue, 30 Jun 2009 09:29:35 +0000 Subject: [PATCH] Added more HTTP header constants useful for MIME representation --- .../netty/handler/codec/http/HttpHeaders.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/main/java/org/jboss/netty/handler/codec/http/HttpHeaders.java b/src/main/java/org/jboss/netty/handler/codec/http/HttpHeaders.java index 0302123857..dd9792d665 100644 --- a/src/main/java/org/jboss/netty/handler/codec/http/HttpHeaders.java +++ b/src/main/java/org/jboss/netty/handler/codec/http/HttpHeaders.java @@ -95,6 +95,10 @@ public final class HttpHeaders { * {@code "Content-Location"} */ public static final String CONTENT_LOCATION = "Content-Location"; + /** + * {@code "Content-Transfer-Encoding"} + */ + public static final String CONTENT_TRANSFER_ENCODING = "Content-Transfer-Encoding"; /** * {@code "Content-MD5"} */ @@ -249,6 +253,14 @@ public final class HttpHeaders { * @version $Rev$, $Date$ */ public static final class Values { + /** + * {@code "base64"} + */ + public static final String BASE64 = "base64"; + /** + * {@code "binary"} + */ + public static final String BINARY = "binary"; /** * {@code "bytes"} */ @@ -337,6 +349,10 @@ public final class HttpHeaders { * {@code "public"} */ public static final String PUBLIC = "public"; + /** + * {@code "quoted-printable"} + */ + public static final String QUOTED_PRINTABLE = "quoted-printable"; /** * {@code "s-maxage"} */