Sha256: f77ca01df3f50dbef906169b3808427131b35a48d719f8019dc240aac8a3fbc9

Contents?: true

Size: 244 Bytes

Versions: 91

Compression:

Stored size: 244 Bytes

Contents

require 'sinatra'

class App < Sinatra::Base
  get('/foo') do
    headers(
      "MixedCase-Header" => 'MixedCase',
      "UPPERCASE-HEADER" => 'UPPERCASE',
      "lowercase-header" => 'lowercase'
    )
    'primary content'
  end
end

run App

Version data entries

91 entries across 91 versions & 3 rubygems

Version Path
excon-0.7.7 tests/rackups/response_header.ru
excon-0.7.6 tests/rackups/response_header.ru
excon-0.7.5 tests/rackups/response_header.ru
excon-0.7.4 tests/rackups/response_header.ru
excon-0.7.3 tests/rackups/response_header.ru
excon-0.7.2 tests/rackups/response_header.ru
excon-0.7.1 tests/rackups/response_header.ru
excon-0.7.0 tests/rackups/response_header.ru
excon-0.6.6 tests/rackups/response_header.ru
excon-0.6.5 tests/rackups/response_header.ru
excon-0.6.4 tests/rackups/response_header.ru