Sha256: 8f360feb93ae0e2cd6c5633d2a2f180a36f70ca1114eda73648d866173d13188

Contents?: true

Size: 276 Bytes

Versions: 7

Compression:

Stored size: 276 Bytes

Contents

require 'sinatra'

get '/' do
    'GET'
end

get '/sleep' do
    sleep 5
end

get '/text' do
    content_type 'text/html; charset=ss'

    'Blah'.encode( 'ASCII-8BIT' )
end

get '/binary' do
    content_type 'application/binary'

    "\x01\x02\x03".encode( 'ASCII-8BIT' )
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
arachni-1.6.1.3 spec/support/servers/arachni/http/proxy_server.rb
arachni-1.6.1.2 spec/support/servers/arachni/http/proxy_server.rb
arachni-1.6.1.1 spec/support/servers/arachni/http/proxy_server.rb
arachni-1.6.1 spec/support/servers/arachni/http/proxy_server.rb
arachni-1.6.0 spec/support/servers/arachni/http/proxy_server.rb
arachni-1.5.1 spec/support/servers/arachni/http/proxy_server.rb
arachni-1.5 spec/support/servers/arachni/http/proxy_server.rb