logandk/serverless-wsgi

Serverless wsgi application and aws http api fail to integrate

kanelv opened this issue · 1 comments

When I setup severless.yml to use httpApi, and run "npx sls offline start", I have got the below things.
What should I do in the case?
./node_modules/serverless-offline/src/lambda/handler-runner/python-runner/invoke.py", line 97, in <module> result = handler(input['event'], context)
./wsgi_handler.py", line 106, in handler return serverless_wsgi.handle_request(wsgi_app, event, context)
./serverless_wsgi.py", line 178, in handle_request return handle_payload_v2(app, event, context)
./serverless_wsgi.py", line 254, in handle_payload_v2

`"CONTENT_LENGTH": str(len(body)),`

TypeError: object of type 'NoneType' has no len()

this is not yet fixed. i'm encountering issues with the one on line 255