bugfix: reading the value of ngx.status might get different values than ngx.var.status. thanks Kevin Burke for the report.