arnauorriols / node-red-contrib-python-function

Write Python functions in Node-RED!
MIT License
41 stars 23 forks source link

Store/Restore REQ/RES objects #7

Closed eaf-andrewbaccus closed 6 years ago

eaf-andrewbaccus commented 6 years ago

Added support for HTTP response nodes. Previously, the RES/REQ objects were dropped, preventing the HTTP response node from functioning. This stores and restores the RES/REQ objects within the Python node so that the response can be properly returned.

alexmick commented 5 years ago

This is great! Been struggling to make the python node work with HTTP nodes and pinned it down to the res property being dropped. Is there a chance of releasing version 0.0.3 of node-red-contrib-python-function so we can all benefit from this fix ? @arnauorriols

alexmick commented 5 years ago

Up @arnauorriols , would be great to release this. Happy to do it myself if you're out of time, my npm handle is alexmick

arnauorriols commented 5 years ago

Done!