better reporting on HTTP status codes