Comments (7)
@whwnow v0.4 is released,you can try it.
from morgan.
@fundon hi, I have updated to 0.4, the problems still exist . is it my usage problem?
from morgan.
You need set morgan.middleware
before gzip
from morgan.
it doestn't work. it works right when i remove gzip. looks like they are
not compatible.
2015-09-24 10:32 GMT+08:00 Fangdun Cai [email protected]:
You need set morgan.middleware before gzip
—
Reply to this email directly or view it on GitHub
#1 (comment).
from morgan.
See https://github.com/koajs/koa-gzip/blob/master/index.js#L39-L45,
from morgan.
T T, thanks. I will make a issue to them.
from morgan.
koa-gzip
can't set the content-length
, the body
has been compressed.
So, the origin content-length
is incorrect
from morgan.
Related Issues (8)
- if use proxy, can't show the real ip HOT 2
- async await HOT 2
- app.use() requires a generator function HOT 9
- dependencies on github repository HOT 1
- seems only display error log, skip those statusCode < 400 HOT 1
- Use ctx in skip or token functions?
- request: bump package version to demonstrate activity
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from morgan.