The fix was good and working. I just wanted to take the chance and simplify the code a bit. It would have taken much longer to write what I wanted to point out then adjusting it myself.
[x] Please double check my changed that they did not change the behavior of your fix.
All status codes from 200 to 299 will be accepted as successful. Is a test needed? I am not sure on how to best implement this.