Sunshowers 0.2.0v0.2.0
commitb238af1ac61d1410ad1117f0fd367bd13d8bbbca
authorEric Wong <normalperson@yhbt.net>
Mon, 14 Dec 2009 10:59:26 +0000 (14 02:59 -0800)
committerEric Wong <normalperson@yhbt.net>
Mon, 14 Dec 2009 10:59:26 +0000 (14 02:59 -0800)
tree9cf3aa90f4e9d84aca74f13caabeb0e4448d91ec
parent70badb44746163b195ed76a5c3c86b65ad7a7ba5
Sunshowers 0.2.0

The ws_handshake! method now accepts optional headers, as
cookies should be settable during the handshake process.  Header
rules are exactly the same as normal Rack response headers and
typically a Hash with String keys and newline-delimited values.

Sunshowers::IO#gets now discards binary frames as dictated by
the current IETF draft specification (66).  Setting
Sunshowers::IO#keep_binary=true will revert to the old (and
hopefully future) behavior on a per-object basis.  Do not expect
the +keep_binary+ member of Sunshowers::IO Struct to become part
of the a stable API.

Eric Wong (8):
      RDoc version constant
      ws_handshake! may now accept headers
      request: raise HandshakeError correctly if ws? is false
      test_request: add PATH_INFO by default
      test_request: more unit tests
      io: discard binary frames
      .gitignore: ignore downloaded drafts
      more RDoc
lib/sunshowers.rb