Module | RFuzz::HttpEncoding |
In: |
lib/rfuzz/client.rb
|
A mixin that has most of the HTTP encoding methods you need to work with the protocol. It’s used by HttpClient, but you can use it as well.
COOKIE | = | "Cookie" |
FIELD_ENCODING | = | "%s: %s\r\n" |
HTTP is kind of retarded that you have to specify a Host header, but if you include port 80 then further redirects will tack on the :80 which is annoying.