Implemented status code in header assertion