diff options
author | Eric Wong <normalperson@yhbt.net> | 2013-08-22 23:11:49 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-08-23 01:57:19 +0000 |
commit | fe1e1200c1541676e6b8402b7972a16105a76a63 (patch) | |
tree | 1ae0addce5d4cef8985ca859c33ef78c4d763751 /test/http_put.rb | |
parent | 1199492dd1adb394cf4cc0d599e7f77c52ccbdbf (diff) | |
download | cmogstored-fe1e1200c1541676e6b8402b7972a16105a76a63.tar.gz |
This was inherited from a server which needed to deal with some broken clients, MogileFS does not have this problem. Neither Perlbal nor nginx set this response header, either, so lets save ourselves a few bytes.
Diffstat (limited to 'test/http_put.rb')
-rw-r--r-- | test/http_put.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/http_put.rb b/test/http_put.rb index 537182c..5f1fea1 100644 --- a/test/http_put.rb +++ b/test/http_put.rb @@ -82,7 +82,6 @@ class TestHTTPPut < Test::Unit::TestCase "abcde" @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" \ @@ -103,7 +102,6 @@ class TestHTTPPut < 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" \ |