test/stallion.rb in astro-em-http-request-0.1.3.20090419 vs test/stallion.rb in astro-em-http-request-0.1.5
- old
+ new
@@ -79,10 +79,10 @@
elsif stable.request.path_info == '/echo_query'
stable.response.write stable.request.query_string
elsif stable.request.post?
- stable.response.write 'test'
+ stable.response.write stable.request.body.read
elsif stable.request.path_info == '/timeout'
sleep(10)
stable.response.write 'timeout'