core icon indicating copy to clipboard operation
core copied to clipboard

Payloads and files aren't processed because a update of dep type-is

Open wiliame opened this issue 7 years ago • 2 comments

Package version

^5.0.9

Node.js and npm version

node 10.15.3 npm 6.4.0

Sample Code (to reproduce the issue)

Any json payload, so request.file() and request.post() are empty always.

BONUS (a sample repo to reproduce the issue)

No repo


The issue is described here: https://forum.adonisjs.com/t/empty-request-all/3461

I have found the error, is described here: https://forum.adonisjs.com/t/empty-request-all/3461/6

The issue appears at request.is which stopped working after type-is last commit, the library that uses node-req to determine the request type.

https://github.com/jshttp/type-is/issues/41

wiliame avatar Apr 26 '19 09:04 wiliame

Fixed in https://github.com/adonisjs/adonis-framework/issues/1067

thetutlage avatar Apr 26 '19 09:04 thetutlage

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Mar 10 '20 23:03 lock[bot]