I want compression response body to client always , Whether the client have any Settings。My Client App is poor what can't set any request header, but can handle compression data.
app.get('/device',auth_identity,compression({filter: function(req,res){returntrue;}}),device);node: v4.2.2
compression: 1.6.1
express : 3.4.4
Why ? thanks.
I want compression response body to client always , Whether the client have any Settings。My Client App is poor what can't set any request header, but can handle compression data.
Why ? thanks.