Sha256: 272ca0a82ffee924ac4348e79107e427605ac1df888bc16ba5838a5d1becaa3e
Contents?: true
Size: 283 Bytes
Versions: 15
Compression:
Stored size: 283 Bytes
Contents
# frozen_string_literal: true class BadChunkingServlet < WEBrick::HTTPServlet::AbstractServlet def do_GET req, res res.keep_alive = false if res.respond_to? :keep_alive= res['Transfer-Encoding'] = 'chunked' res.body = <<-BODY a\r 0123456789\r 0\r BODY end end
Version data entries
15 entries across 15 versions & 1 rubygems