Sha256: 078ba85e73cf06d95347e93da4fcb19f9f8e00814959df0012d243ef844a09d8

Contents?: true

Size: 1.08 KB

Versions: 3

Compression:

Stored size: 1.08 KB

Contents

CASES << {
    :name => "response",
    :type => :response,
    :message_complete_on_eof => false,
    :data => [
      "HTTP/1.0 301 Moved Permanently\n",
      "Date: Thu, 03 Jun 2010 09:56:32 GMT\n",
       "Server: Apache/2.2.3 (Red Hat)\n",
      "Cache-Control: public\n",
      "Pragma: \n",
      "Location: http://www.bonjourmadame.fr/\n",
      "Vary: Accept-Encoding\n",
      "Content-Length: 0\n",
      "Content-Type: text/html; charset=UTF-8\n",
      "Connection: keep-alive\n",
      "\n"
    ],    
    :should_keep_alive => true,
    :http_major => 1,
    :http_minor => 0,
    :method => "",
    :request_url => "",
    :num_headers => 9,
    :status_code => 301,
    :headers => { 
      "Date" => "Thu, 03 Jun 2010 09:56:32 GMT",
      "Server" => "Apache/2.2.3 (Red Hat)",
      "Cache-Control" => "public",
      "Pragma" => "",
      "Location" => "http://www.bonjourmadame.fr/",
      "Vary" => "Accept-Encoding",
      "Content-Length" => "0",
      "Content-Type" => "text/html; charset=UTF-8",
      "Connection" => "keep-alive"
    },
    :upgrade => false,
    :body => ""
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
noderb-http-0.0.5 test/cases/response.rb
noderb-http-0.0.4 test/cases/response.rb
noderb-http-0.0.3 test/cases/response.rb