1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/lib
Konstantin Haase e4a4eb964e Support responses without entity body
Some HTTP verbs imply that no body is sent with
the response. Puma did not respect that.

This led to issues like this one:

    $ curl localhost:9292
    curl: (18) transfer closed with outstanding
    read data remaining

This also breaks persistent connections.

Example program to program to provoke this issue:

    proc do
      [204, {'Conten-Type' => 'text/plain'}, []]
    end

Signed-off-by: Konstantin Haase <konstantin.mailinglists@googlemail.com>
2011-12-21 09:17:19 -08:00
..
puma Support responses without entity body 2011-12-21 09:17:19 -08:00
rack/handler Exclude a logger by default in handler mode. Fixes #22 2011-12-19 14:17:25 -08:00
puma.rb Remove another ref to a file that doesn't exist 2011-12-01 15:58:54 -08:00