Get http request error handling roughly working.