Skip to content

Commit

Permalink
Split POST test because new dummy server can't handle continuouse POS…
Browse files Browse the repository at this point in the history
…T request
  • Loading branch information
hsbt committed Jul 10, 2024
1 parent 205bac7 commit cffee60
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/net/http/test_http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,11 @@ def test_get2
def test_post
start {|http|
_test_post__base http
}
start {|http|
_test_post__file http
}
start {|http|
_test_post__no_data http
}
end
Expand Down Expand Up @@ -629,10 +633,12 @@ def test_request
# _test_request__range http # WEBrick does not support Range: header.
_test_request__HEAD http
_test_request__POST http
_test_request__stream_body http
_test_request__uri http
_test_request__uri_host http
}
start {|http|
_test_request__stream_body http
}
end

def _test_request__GET(http)
Expand Down

0 comments on commit cffee60

Please sign in to comment.