hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1598051 - in /httpcomponents/httpcore/trunk/httpcore/src: examples/org/apache/http/examples/ElementalHttpServer.java main/java/org/apache/http/impl/bootstrap/package-info.java
Date Wed, 28 May 2014 15:51:13 GMT
Author: olegk
Date: Wed May 28 15:51:13 2014
New Revision: 1598051

URL: http://svn.apache.org/r1598051
Log:
Cleanups

Modified:
    httpcomponents/httpcore/trunk/httpcore/src/examples/org/apache/http/examples/ElementalHttpServer.java
    httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/bootstrap/package-info.java

Modified: httpcomponents/httpcore/trunk/httpcore/src/examples/org/apache/http/examples/ElementalHttpServer.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/examples/org/apache/http/examples/ElementalHttpServer.java?rev=1598051&r1=1598050&r2=1598051&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/examples/org/apache/http/examples/ElementalHttpServer.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/examples/org/apache/http/examples/ElementalHttpServer.java
Wed May 28 15:51:13 2014
@@ -150,7 +150,7 @@ public class ElementalHttpServer {
                 final HttpResponse response,
                 final HttpContext context) throws HttpException, IOException {
 
-            String method = request.getRequestLine().getMethod().toUpperCase(Locale.ENGLISH);
+            String method = request.getRequestLine().getMethod().toUpperCase(Locale.ROOT);
             if (!method.equals("GET") && !method.equals("HEAD") && !method.equals("POST"))
{
                 throw new MethodNotSupportedException(method + " method not supported");
             }

Modified: httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/bootstrap/package-info.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/bootstrap/package-info.java?rev=1598051&r1=1598050&r2=1598051&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/bootstrap/package-info.java
(original)
+++ httpcomponents/httpcore/trunk/httpcore/src/main/java/org/apache/http/impl/bootstrap/package-info.java
Wed May 28 15:51:13 2014
@@ -26,6 +26,6 @@
  */
 
 /**
- * Embedded server bootstrap.
+ * Embedded server and server bootstrap.
  */
 package org.apache.http.impl.bootstrap;



Mime
View raw message