Commit Graph

8 Commits

Author SHA1 Message Date
Denis Makogon
357de7085a Updating Python hot HTTP/JSON sample (#379)
* Updating Python hot HTTP sample

 - using latest hotfn 0.0.5 release (made life lot easier)

* Updating to latest 0.0.6 release

 What's new?
 - new request data signature: context, data, loop
 - supports event loop (very useful for request body handeler of coroutine type)

* Updating example with respect to recent fdk-python release

* Addressing review comments
2017-10-18 15:32:57 +03:00
Denis Makogon
ce25adfddb JSON protocol updating (#426)
* JSON protocol updating

 this patch adds HTTP query string into payload (see more TODOs in code)
 adds one more test to verify query

* Fixing FMT
2017-10-12 23:10:21 +03:00
Denis Makogon
8f5ac1ac98 Func example in Python would pushed be later 2017-10-08 13:07:07 +03:00
Denis Makogon
3ae55af392 Adding JSON format validation API tests 2017-10-07 00:43:09 +03:00
Denis Makogon
c2ee67fb21 Revisiting request body processing 2017-10-07 00:43:09 +03:00
Denis Makogon
783490dc79 Addressing certain comments
What's new?
 - better error handling
 - still need to decode JSON from function because we need status code and body
 - prevent request body to be a problem by deferring its close
 - moving examples around: putting http and json samples into one folder
2017-10-07 00:43:07 +03:00
Denis Makogon
ecaa5eefbf Cleaning up code
Getting rid of request url, call id, method: all of them are
 redundant and available through env
2017-10-07 00:43:07 +03:00
amykang2020
b6b9b55ca9 apply/make Travis's json-format branch prototype to work with latest restructured master; added StatusCode to JSONOutput server-function contract 2017-10-07 00:43:07 +03:00