diff options
Diffstat (limited to 'test/http_chunked_put.rb')
-rw-r--r-- | test/http_chunked_put.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/test/http_chunked_put.rb b/test/http_chunked_put.rb index 817ced7..8f07c85 100644 --- a/test/http_chunked_put.rb +++ b/test/http_chunked_put.rb @@ -86,7 +86,6 @@ class TestHTTPChunkedPut < Test::Unit::TestCase def edge_finder(suf) expect = "HTTP/1.1 200 OK\r\n" \ - "Status: 200 OK\r\n" \ "Date: #{EPOCH}\r\n" \ "Last-Modified: #{EPOCH}\r\n" \ "Content-Length: 5\r\n" \ @@ -125,7 +124,6 @@ class TestHTTPChunkedPut < Test::Unit::TestCase def check_abcde(msg=nil) expect = "HTTP/1.1 201 Created\r\n" \ - "Status: 201 Created\r\n" \ "Date: #{EPOCH}\r\n" \ "Content-Length: 0\r\n" \ "Content-Type: text/plain\r\n" \ @@ -219,7 +217,6 @@ class TestHTTPChunkedPut < Test::Unit::TestCase t_yield @client.write(moar) expect = "HTTP/1.1 200 OK\r\n" \ - "Status: 200 OK\r\n" \ "Date: #{EPOCH}\r\n" \ "Last-Modified: #{EPOCH}\r\n" \ "Content-Length: 5\r\n" \ @@ -245,7 +242,6 @@ class TestHTTPChunkedPut < Test::Unit::TestCase check_abcde @client.write(more) expect = "HTTP/1.1 200 OK\r\n" \ - "Status: 200 OK\r\n" \ "Date: #{EPOCH}\r\n" \ "Last-Modified: #{EPOCH}\r\n" \ "Content-Length: 5\r\n" \ @@ -274,7 +270,6 @@ class TestHTTPChunkedPut < Test::Unit::TestCase t_yield @client.write(moar) expect = "HTTP/1.1 200 OK\r\n" \ - "Status: 200 OK\r\n" \ "Date: #{EPOCH}\r\n" \ "Last-Modified: #{EPOCH}\r\n" \ "Content-Length: 5\r\n" \ @@ -293,7 +288,6 @@ class TestHTTPChunkedPut < Test::Unit::TestCase "0\r\n\r\n" @client.write(req) expect = "HTTP/1.1 201 Created\r\n" \ - "Status: 201 Created\r\n" \ "Date: #{EPOCH}\r\n" \ "Content-Length: 0\r\n" \ "Content-Type: text/plain\r\n" \ @@ -316,7 +310,6 @@ class TestHTTPChunkedPut < Test::Unit::TestCase end.join @client.write(req) expect = "HTTP/1.1 201 Created\r\n" \ - "Status: 201 Created\r\n" \ "Date: #{EPOCH}\r\n" \ "Content-Length: 0\r\n" \ "Content-Type: text/plain\r\n" \ @@ -344,7 +337,6 @@ class TestHTTPChunkedPut < Test::Unit::TestCase end expect = "HTTP/1.1 201 Created\r\n" \ - "Status: 201 Created\r\n" \ "Date: #{EPOCH}\r\n" \ "Content-Length: 0\r\n" \ "Content-Type: text/plain\r\n" \ |