Verify an HTTP 200 before returning content

cbugg: close bug-664