Sha256: 5f12290ae9f6d1587a92702127fafacb48626b5a0454392dcd1cfbde8f2e5eed

Contents?: true

Size: 235 Bytes

Versions: 58

Compression:

Stored size: 235 Bytes

Contents

require 'sinatra'
require File.join(File.dirname(__FILE__), 'webrick_patch')

class App < Sinatra::Base
  set :environment, :production
  enable :dump_errors

  get('/query') do
    "query: " << request.query_string
  end
end

run App

Version data entries

58 entries across 56 versions & 4 rubygems

Version Path
excon-0.41.0 tests/rackups/query_string.ru
excon-0.40.0 tests/rackups/query_string.ru
excon-0.39.6 tests/rackups/query_string.ru
excon-0.39.5 tests/rackups/query_string.ru
excon-0.39.4 tests/rackups/query_string.ru
excon-0.39.3 tests/rackups/query_string.ru
excon-0.39.2 tests/rackups/query_string.ru
excon-0.39.1 tests/rackups/query_string.ru
excon-0.39.0 tests/rackups/query_string.ru
excon-0.38.0 tests/rackups/query_string.ru
excon-0.37.0 tests/rackups/query_string.ru
excon-0.36.0 tests/rackups/query_string.ru
excon-0.35.0 tests/rackups/query_string.ru
excon-0.34.0 tests/rackups/query_string.ru
excon-0.33.0 tests/rackups/query_string.ru
excon-0.32.1 tests/rackups/query_string.ru
excon-0.32.0 tests/rackups/query_string.ru
excon-0.31.0 tests/rackups/query_string.ru