test/net/test_ajp13request.rb in ruby-ajp-0.1.5 vs test/net/test_ajp13request.rb in ruby-ajp-0.2.0
- old
+ new
@@ -157,11 +157,11 @@
assert_equal "shift_jis, utf-8, utf-16, iso-8859-1;q=0.6, *;q=0.1", value
when 'accept-encoding'
assert_equal "deflate, gzip, x-gzip, identity, *;q=0", value
when 'cookie'
assert_block {
- "JSESSIONID=54104A3A77560CEF8967D263F1A7193" == value or
- "$Version=1" == value
+ "JSESSIONID=54104A3A775650CEF8967D263F1A7193, $Version=1" == value or
+ "$Version=1, JSESSIONID=54104A3A775650CEF8967D263F1A7193" == value
}
when 'cache-control'
assert_equal "no-cache", value
when 'connection'
assert_equal "Keep-Alive, TE", value