beego/context: Fix ignored Header in case SetStatus has been called before