You don't always have to use SimpleGet, as it has some predetermined values set, including allowed status code, which is only 200 by default, everything else will raise exception. Set up the properties and parameters yourself and use Get, so you can handle it yourself. Otherwise, what avra suggested should work.