Right now the compression middleware compresses any response and subsequently writes a 200 status code. However if for instance a 400 is returned we want to not send a 200 status code down; other compression middlewares seem to not compress if this is the case.
Right now the compression middleware compresses any response and subsequently writes a 200 status code. However if for instance a 400 is returned we want to not send a 200 status code down; other compression middlewares seem to not compress if this is the case.