summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2010-04-28 15:41:16 -0700
committerElliott Hughes <enh@google.com>2010-04-28 15:41:16 -0700
commitaf5c56d18c8e1e32552c7d31a2f365b506c28e59 (patch)
tree381effe5c764c475e622cb52b8cebcfc36b15b07
parent2e9f166eba309e50c1c1f52ff8d2694f058ab2cf (diff)
downloadexternal_apache-http-af5c56d18c8e1e32552c7d31a2f365b506c28e59.zip
external_apache-http-af5c56d18c8e1e32552c7d31a2f365b506c28e59.tar.gz
external_apache-http-af5c56d18c8e1e32552c7d31a2f365b506c28e59.tar.bz2
RFC2616 says it's "100-continue", not "100-Continue".
Bug: http://code.google.com/p/android/issues/detail?id=7208 Change-Id: I66dd64fb068fc920ed47e0b3efdac5e70e603027
-rw-r--r--src/org/apache/http/params/CoreProtocolPNames.java4
-rw-r--r--src/org/apache/http/protocol/HTTP.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/org/apache/http/params/CoreProtocolPNames.java b/src/org/apache/http/params/CoreProtocolPNames.java
index a42c5de..a0a726d 100644
--- a/src/org/apache/http/params/CoreProtocolPNames.java
+++ b/src/org/apache/http/params/CoreProtocolPNames.java
@@ -94,8 +94,8 @@ public interface CoreProtocolPNames {
/**
* <p>
- * Activates 'Expect: 100-Continue' handshake for the
- * entity enclosing methods. The purpose of the 'Expect: 100-Continue'
+ * Activates 'Expect: 100-continue' handshake for the
+ * entity enclosing methods. The purpose of the 'Expect: 100-continue'
* handshake to allow a client that is sending a request message with
* a request body to determine if the origin server is willing to
* accept the request (based on the request headers) before the client
diff --git a/src/org/apache/http/protocol/HTTP.java b/src/org/apache/http/protocol/HTTP.java
index de76ca6..9223955 100644
--- a/src/org/apache/http/protocol/HTTP.java
+++ b/src/org/apache/http/protocol/HTTP.java
@@ -60,7 +60,7 @@ public final class HTTP {
public static final String SERVER_HEADER = "Server";
/** HTTP expectations */
- public static final String EXPECT_CONTINUE = "100-Continue";
+ public static final String EXPECT_CONTINUE = "100-continue";
/** HTTP connection control */
public static final String CONN_CLOSE = "Close";