boxlang-express 0.1.18
Released .
- Added
Response.getStatusCode()/getBytesWritten()accessors — expose the eventual status code and body byte count from outside the class, for request-logging middleware (registered first viaapp.use()) that otherwise can't observe a request's outcome.getBytesWritten()is0for a response still in flight; both reflect the real outcome even when a route never calledstatus()directly, since every terminal method that isn't a plain200(redirect(),sendStatus(),sendFileRange()'s206/304/416) routes through it internally. See Response.bx.