[PATCH cwclientlib] Add a "post_json" method to CWProxy

Philippe Pepiot philippe.pepiot at logilab.fr
Tue Jun 12 08:19:47 CEST 2018


On 07/06/2018, Denis Laxalde wrote:
> # HG changeset patch
> # User Denis Laxalde <denis.laxalde at logilab.fr>
> # Date 1528383855 -7200
> #      Thu Jun 07 17:04:15 2018 +0200
> # Node ID 8ce8450f36a50c8ff112eea942da817dae6bddde
> # Parent  fb19340eb36ecc07a7552df34074cd7548a0f894
> # Available At http://hg.logilab.org/review/cwclientlib/
> #              hg pull http://hg.logilab.org/review/cwclientlib/ -r 8ce8450f36a5
> # EXP-Topic post-json
> Add a "post_json" method to CWProxy
> 
> This is basically a wrapper to requests.post(json=data). We cannot
> actually reuse (extend) the existing "post" method of CWProxy because it
> would not be backwards compatible.

Applied, thanks!


More information about the cubicweb-devel mailing list