Allow python bindings to handle status codes as numbers and strings as steps to aligning with W3C Spec