Sha256: 4fd1822958bd8db281daa8c16968360e14e754b7b99c718914700be71fbfcd75

Contents?: true

Size: 431 Bytes

Versions: 11

Compression:

Stored size: 431 Bytes

Contents

#!/usr/bin/env ruby1.9.1

Dir.chdir(File.dirname(__FILE__))
require "../../knjrbfw.rb"

require "../autoload"

http = Http2.new(:host => "www.partyworm.dk", :port => 80, :ssl => false)
resp = http.get(:url => "/?show=frontpage")
resp = http.get(:url => "/?show=login")

#print "Wee!\n"
#exit

http = Http2.new(:host => "mexico.balance4u.com", :port => 443, :ssl => true)
resp = http.get(:url => "/")

Knj::Php.print_r(http.cookies)

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
knjrbfw-0.0.72 lib/knj/tests/test_http2.rb
knjrbfw-0.0.71 lib/knj/tests/test_http2.rb
knjrbfw-0.0.70 lib/knj/tests/test_http2.rb
knjrbfw-0.0.69 lib/knj/tests/test_http2.rb
knjrbfw-0.0.68 lib/knj/tests/test_http2.rb
knjrbfw-0.0.67 lib/knj/tests/test_http2.rb
knjrbfw-0.0.66 lib/knj/tests/test_http2.rb
knjrbfw-0.0.65 lib/knj/tests/test_http2.rb
knjrbfw-0.0.64 lib/knj/tests/test_http2.rb
knjrbfw-0.0.63 lib/knj/tests/test_http2.rb
knjrbfw-0.0.62 lib/knj/tests/test_http2.rb