Sha256: 889fd696d264f9cc7f2c641d8162ea9b8b0858ef889ede5d3ee92877ddff6afb
Contents?: true
Size: 369 Bytes
Versions: 2
Compression:
Stored size: 369 Bytes
Contents
# See also the pull request https://github.com/geekq/jetty-rackup/pull/4 # This example does not work with jruby-rack-1.1.2 but works with jruby-rack-1.1.12 # Returns Error 354 in Chrome (net::ERR_CONTENT_LENGTH_MISMATCH) require 'sinatra/base' class TestIssue4 < Sinatra::Base get '/' do halt 400, 'test' end get '/works' do 'Always works' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jetty-rackup-7.2.0 | examples/issue4_handle400/app.rb |
jetty-rackup-7.1.0 | examples/issue4_handle400/app.rb |