added a spec and documentation for default status codes