lib/stella/data/http.rb in stella-0.8.2.002 vs lib/stella/data/http.rb in stella-0.8.2.003
- old
+ new
@@ -37,10 +37,10 @@
def has_body?
!@body.nil?
end
def initialize (method, uri_str, version="1.1", &definition)
- @uri = uri_str
+ @uri = uri_str.to_s
@http_method, @http_version = method, version
@headers, @params, @response_handler = {}, {}, {}
@resources = {}
@autofollow = false
@wait = 0
\ No newline at end of file