Sha256: 24e6e8d696f19c5cb989a8c3c6a9d12a0b59ffbac6574488dfa4887391d5f2d9

Contents?: true

Size: 417 Bytes

Versions: 51

Compression:

Stored size: 417 Bytes

Contents

#!/usr/bin/env ruby1.9.1

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

require "../autoload"

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

#print "Wee!\n"
#exit

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

Knj::Php.print_r(http.cookies)

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
knjrbfw-0.0.59 lib/knj/tests/test_http2.rb
knjrbfw-0.0.58 lib/knj/tests/test_http2.rb
knjrbfw-0.0.57 lib/knj/tests/test_http2.rb
knjrbfw-0.0.55 lib/knj/tests/test_http2.rb
knjrbfw-0.0.54 lib/knj/tests/test_http2.rb
knjrbfw-0.0.53 lib/knj/tests/test_http2.rb
knjrbfw-0.0.52 lib/knj/tests/test_http2.rb
knjrbfw-0.0.51 lib/knj/tests/test_http2.rb
knjrbfw-0.0.50 lib/knj/tests/test_http2.rb
knjrbfw-0.0.49 lib/knj/tests/test_http2.rb
knjrbfw-0.0.48 lib/knj/tests/test_http2.rb
knjrbfw-0.0.47 lib/knj/tests/test_http2.rb
knjrbfw-0.0.46 lib/knj/tests/test_http2.rb
knjrbfw-0.0.45 lib/knj/tests/test_http2.rb
knjrbfw-0.0.44 lib/knj/tests/test_http2.rb
knjrbfw-0.0.43 lib/knj/tests/test_http2.rb
knjrbfw-0.0.42 lib/knj/tests/test_http2.rb
knjrbfw-0.0.41 lib/knj/tests/test_http2.rb
knjrbfw-0.0.40 lib/knj/tests/test_http2.rb
knjrbfw-0.0.39 lib/knj/tests/test_http2.rb