Theoretically, you should accept all HTTP code from 100 included until 400 not included.
Only 4xx (client errors) and 5xx (server errors) are considered as error codes