lib/requests/request.rb in video_chat_get-0.1.4 vs lib/requests/request.rb in video_chat_get-0.1.5
- old
+ new
@@ -20,10 +20,10 @@
def request_html_parse(url,opt)
charset=nil
status=[]
- response=open(url,opt) do |f|
+ response=URI.open(url,opt) do |f|
charset=f.charset
status=f.status
f.read
end
\ No newline at end of file