Skip to content
This repository has been archived by the owner on Dec 9, 2024. It is now read-only.

Python 3.6: Response always 200 #186

Open
holt13 opened this issue Aug 29, 2019 · 1 comment
Open

Python 3.6: Response always 200 #186

holt13 opened this issue Aug 29, 2019 · 1 comment

Comments

@holt13
Copy link

holt13 commented Aug 29, 2019

How can python dictate the response code returned by Kubeless?

#180 In this issue there is a field in event.extensions to set the response code, but this key doesn't exist in the python runtime. I've tried adding the field to the event object, but the response code isn't changed. Calling the function results in 200 even though I returned 400.

Any insight will be appreciated.
Thanks

@andresmgot
Copy link
Contributor

Unfortunately, the field response is not available for the Python runtime. You can find more context here: vmware-archive/runtimes#28

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants