Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

I suck at HTTP.

Name: Anonymous 2010-11-20 17:24

Hey /prog/...

I don't know jack about HTTP, but I'm trying to make an autovoter in ruby. Is this how it should look?

require 'net/http'
require 'uri'

url = URI.parse('http://polls.polldaddy.com/vote-js.php?p=3844748&b=1&a=17477211,&o=&va=0&cookie=0&url=http%3A//www.birthornot.com/')
1000000.times do
res = Net::HTTP.start(url.host, url.port) { |http| http.get('/vote-js.php?p=3844748&b=1&a=17477211,&o=&va=0&cookie=0&url=http%3A//www.birthornot.com/')
}
end

Name: Anonymous 2010-11-20 18:08

>>2

Ignoring the language used to use it, is this proper HTTP?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List