Z
Zouplaz
Hello, I'm goind crazy with this piece of code
response = @http.get(url, headers)
raise "url #{url} unreachable on host #{@host}:#{@port} - code
#{response.code}" if response.code != 200
The exception is raised even when response.code contains 200 !!
What's wrong ?
Thanks
response = @http.get(url, headers)
raise "url #{url} unreachable on host #{@host}:#{@port} - code
#{response.code}" if response.code != 200
The exception is raised even when response.code contains 200 !!
What's wrong ?
Thanks