utils¶
| authors: | Rémi GATTAZ |
|---|---|
| copyright: | Copyright 2015, IsandlaTech |
| license: | Apache Software License 2.0 |
-
restbuilder.controllers.utils.parseBody(aRequest)¶ Parse the body of a given request and return a dictionnary of all its values
Parameters: aRequest – Request handler Returns: a dictionnary
-
restbuilder.controllers.utils.pathToParts(aPath)¶ Remove the prefix and suffix / if they exist and return the path splitted on ‘/’
Parameters: aPath – path to split Returns: Splitted path on ‘/’