search for: webbrows

Displaying 1 result from an estimated 1 matches for "webbrows".

Did you mean: webbrowser
2007 Jan 01
0
Net::HTTP.get_response with local files "file://..."
Hi, In my application I fetch a webpage with Net::HTTP.get_response(url). For creating a unit test I don''t want to be depended on an internet connection. So I tried to give an url like that: "file:///c:/mydir/mypage.html" (this url works in webbrower). But it seems that this is not the right protocol for Net::HTTP. Is there any possibility to use such