Sha256: 7229a938aeea4fb15b85e058f876ae8e4a87a25ee88f718dfe9e798902bba55a

Contents?: true

Size: 295 Bytes

Versions: 5

Compression:

Stored size: 295 Bytes

Contents

require "spec_helper"

describe Http2::GetRequest do
  it "reads the headers from the request" do
    with_http do |http|
      res = http.get("content_type_test.rhtml")
      headers = res.request.headers_string
      expect(headers).to include "GET /content_type_test.rhtml"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
http2-0.0.36 spec/http2/get_request_spec.rb
http2-0.0.35 spec/http2/get_request_spec.rb
http2-0.0.34 spec/http2/get_request_spec.rb
http2-0.0.33 spec/http2/get_request_spec.rb
http2-0.0.32 spec/http2/get_request_spec.rb