[Kimchi-devel] [PATCH V2] pass params to create method of all Collections.

Crístian Viana vianac at linux.vnet.ibm.com
Wed Feb 12 11:55:58 UTC 2014


Reviewed-by: Crístian Viana <vianac at linux.vnet.ibm.com>

Am 12-02-2014 08:21, schrieb shaohef at linux.vnet.ibm.com:
> From: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
>
> We can pass params as an argument to create method, do not need call
> parse_request in every create method.
>
> create means the HTTP POST method, and POST requires body.
> So every create needs params parsed from body.
> But we do not need to parse params in every create.
>
> Signed-off-by: ShaoHe Feng <shaohef at linux.vnet.ibm.com>




More information about the Kimchi-devel mailing list