On 4/13/11 1:15 PM, Justin Lee wrote:
> I'm not sure this is the correct fix. From my reading when dealing
> with websocket headers, the messages associated with response codes
> should be processed case-insensitively. We should fix the core code
> that checks for messages to be case insensitive.
Fixed.
>
> On 4/13/11 3:41 PM, rlubke_at_java.net wrote:
>> Project: grizzly
>> Repository: hg
>> Revision: 1692
>> Author: rlubke
>> Date: 2011-04-13 19:40:58 UTC
>> Link:
>>
>> Log Message:
>> ------------
>> Test update for GRIZZLY-998.
>>
>>
>> Revisions:
>> ----------
>> 1692
>>
>>
>> Modified Paths:
>> ---------------
>> modules/http-server/src/test/java/org/glassfish/grizzly/http/server/HttpContinueTest.java
>>
>>
>>
>> Diffs:
>> ------
>> diff -r 6f789a01bd2a -r ff511dd469a2
>> modules/http-server/src/test/java/org/glassfish/grizzly/http/server/HttpContinueTest.java
>> ---
>> a/modules/http-server/src/test/java/org/glassfish/grizzly/http/server/HttpContinueTest.java
>> Wed Apr 13 12:33:44 2011 -0700
>> +++
>> b/modules/http-server/src/test/java/org/glassfish/grizzly/http/server/HttpContinueTest.java
>> Wed Apr 13 12:40:58 2011 -0700
>> @@ -81,7 +81,7 @@
>> out.write(("Host: localhost:" + PORT +
>> "\r\n").getBytes());
>> out.write("Content-Type:
>> application/x-www-form-urlencoded\r\n".getBytes());
>> out.write("Content-Length: 7\r\n".getBytes());
>> - out.write("Expect: 100-Continue\r\n".getBytes());
>> + out.write("Expect: 100-continue\r\n".getBytes());
>> out.write("\r\n".getBytes());
>>
>> StringBuilder sb = new StringBuilder();
>> @@ -137,7 +137,7 @@
>> StringBuilder post = new StringBuilder();
>> post.append("POST /path HTTP/1.1\r\n");
>> post.append("Host:
>> localhost:").append(PORT).append("\r\n");
>> - post.append("Expect: 100-Continue\r\n");
>> + post.append("Expect: 100-continue\r\n");
>> post.append("Content-Type:
>> application/x-www-form-urlencoded\r\n");
>> post.append("Content-Length: 7\r\n");
>> post.append("\r\n");
>>
>>
>>
>>