Bug fix to handle HTTP 202 response codes