express payloadtoolarge request entity too large bodyparser raw body hydra express

Solutions on MaxInterview for express payloadtoolarge request entity too large bodyparser raw body hydra express by the best coders in the world

showing results for - "express payloadtoolarge request entity too large bodyparser raw body hydra express"
Alessandra
14 Aug 2016
1GOTO node_modules\hydra-express\node_modules\raw-body\index.js
2
3function readStream(stream, encoding, length, limit, callback) {
4
5  	limit = 999999999999; //ADD THIS LINE HERE (TO OVERWRITE THE LIMIT)
6    
7    if (limit !== null && length !== null && length > limit) {
8      return done(createError(413, 'request entity too large', {
9        expected: length,
10        length: length,
11        limit: limit,
12        type: 'entity.too.large'
13      }))
14    }
15    
16   ... 
17   
18}