Minor refactoring: add status_levels class variable, return equality statements where applicable
remove unreachable ValueError exception
user urlparse.urljoin instead of string concatenation