From af5c56d18c8e1e32552c7d31a2f365b506c28e59 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 28 Apr 2010 15:41:16 -0700 Subject: RFC2616 says it's "100-continue", not "100-Continue". Bug: http://code.google.com/p/android/issues/detail?id=7208 Change-Id: I66dd64fb068fc920ed47e0b3efdac5e70e603027 --- src/org/apache/http/params/CoreProtocolPNames.java | 4 ++-- src/org/apache/http/protocol/HTTP.java | 2 +- 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 { /** *

- * 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"; -- cgit v1.1