lib/shared/http.rb in yawast-0.4.0.beta4 vs lib/shared/http.rb in yawast-0.4.0.beta5
- old
+ new
@@ -51,9 +51,10 @@
end
req
end
+ # noinspection RubyStringKeysInHashInspection
def self.get_headers
if @cookie == nil
headers = { 'User-Agent' => HTTP_UA }
else
headers = { 'User-Agent' => HTTP_UA, 'Cookie' => @cookie }