File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -442,7 +442,11 @@ def test_get2
442442 def test_post
443443 start { |http |
444444 _test_post__base http
445+ }
446+ start { |http |
445447 _test_post__file http
448+ }
449+ start { |http |
446450 _test_post__no_data http
447451 }
448452 end
@@ -629,10 +633,12 @@ def test_request
629633 # _test_request__range http # WEBrick does not support Range: header.
630634 _test_request__HEAD http
631635 _test_request__POST http
632- _test_request__stream_body http
633636 _test_request__uri http
634637 _test_request__uri_host http
635638 }
639+ start { |http |
640+ _test_request__stream_body http
641+ }
636642 end
637643
638644 def _test_request__GET ( http )
@@ -843,8 +849,13 @@ def test_set_form
843849__EOM__
844850 start { |http |
845851 _test_set_form_urlencoded ( http , data . reject { |k , v |!v . is_a? ( String ) } )
852+ }
853+ start { |http |
846854 @server . mount ( '/' , lambda { |req , res | res . body = req . body } )
847855 _test_set_form_multipart ( http , false , data , expected )
856+ }
857+ start { |http |
858+ @server . mount ( '/' , lambda { |req , res | res . body = req . body } )
848859 _test_set_form_multipart ( http , true , data , expected )
849860 }
850861 }
You can’t perform that action at this time.
0 commit comments