Sha256: ce055b39cd25fb6b9b0a7a2b090f0b094b62465379bccd0b738d6189e5f8b570

Contents?: true

Size: 377 Bytes

Versions: 95

Compression:

Stored size: 377 Bytes

Contents

Shindo.tests('Excon request methods') do

  with_rackup('request_headers.ru') do

    tests 'empty headers sent' do

      test('Excon.post') do
        headers = {
          :one => 1,
          :two => nil,
          :three => 3,
        }
        r = Excon.post('http://localhost:9292', :headers => headers).body
        !r.match(/two:/).nil?
      end

    end

  end

end

Version data entries

95 entries across 93 versions & 5 rubygems

Version Path
excon-0.64.0 tests/request_headers_tests.rb
excon-0.63.0 tests/request_headers_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/excon-0.62.0/tests/request_headers_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/excon-0.62.0/tests/request_headers_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/excon-0.62.0/tests/request_headers_tests.rb
excon-0.62.0 tests/request_headers_tests.rb
excon-0.61.0 tests/request_headers_tests.rb
excon-0.60.0 tests/request_headers_tests.rb
excon-0.59.0 tests/request_headers_tests.rb
excon-0.58.0 tests/request_headers_tests.rb
excon-0.57.1 tests/request_headers_tests.rb
excon-0.57.0 tests/request_headers_tests.rb
excon-0.56.0 tests/request_headers_tests.rb
excon-0.55.0 tests/request_headers_tests.rb
excon-0.54.0 tests/request_headers_tests.rb
excon-0.53.0 tests/request_headers_tests.rb
excon-0.52.0 tests/request_headers_tests.rb
excon-0.51.0 tests/request_headers_tests.rb
excon-0.50.1 tests/request_headers_tests.rb
excon-0.50.0 tests/request_headers_tests.rb