dougmoscrop / serverless-http

Use your existing middleware framework (e.g. Express, Koa) in AWS Lambda 🎉
Other
1.72k stars 166 forks source link

pre-normalize contentType in binary check #30

Closed mvayngrib closed 6 years ago

mvayngrib commented 6 years ago

content-type header may be something like: application/json; charset:utf-8, in which case the current check will fail

dougmoscrop commented 6 years ago

Thanks! Could you add a test?

mvayngrib commented 6 years ago

@dougmoscrop sure, but prob not in the next few days, pretty swamped