[DRE-commits] [ruby-em-http-request] 05/09: webrick sends no 0 as content lengh, its empty

Jonas Genannt jonas at brachium-system.net
Thu Feb 27 09:35:28 UTC 2014


This is an automated email from the git hooks/post-receive script.

hggh-guest pushed a commit to branch master
in repository ruby-em-http-request.

commit da52ee8eb23300bd5068241e8816d31fb0c829f3
Author: Jonas Genannt <jonas at brachium-system.net>
Date:   Thu Feb 27 10:07:46 2014 +0100

    webrick sends no 0 as content lengh, its empty
---
 debian/patches/change_mongrel_to_webrick.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/debian/patches/change_mongrel_to_webrick.patch b/debian/patches/change_mongrel_to_webrick.patch
index dbe15f2..4a0d544 100644
--- a/debian/patches/change_mongrel_to_webrick.patch
+++ b/debian/patches/change_mongrel_to_webrick.patch
@@ -33,3 +33,14 @@ Forwarded: not-needed
          EM.stop
        }
      }
+--- a/spec/client_spec.rb
++++ b/spec/client_spec.rb
+@@ -236,7 +236,7 @@ describe EventMachine::HttpRequest do
+       http.callback {
+         http.response_header.status.should == 200
+ 
+-        http.response.strip.split(':')[1].should == '0'
++        http.response.strip.split(':')[1].should == nil
+         EventMachine.stop
+       }
+     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-em-http-request.git



More information about the Pkg-ruby-extras-commits mailing list