handle response code 405