cwclientlib #15215425 broken upload of binary content [validation pending]

The implementation in https://www.cubicweb.org/patch/4508472 does not handle multiple binary argument of a single query. When this occurs, __fX references are overridden during processing of query arguments. Leading to something like (:

(cwclientlib/cwproxy.py(306)preprocess_queries())

(Pdb) p files
{'json': ('json', '[["INSERT ForecastingCalibration X: X consumptions %(consumptions)s, X exogene_data %(exogene_data)s, X groups %(groups)s, X calibration_date %(calibration_date)s", {"consumptions": "__f0", "exogene_data": "__f0", "groups": "__f0", "calibration_date": "2014-11-30 00:00:00"}]]', 'application/json'), '__f0': <_io.BytesIO object at 0x7fac526871d0>}
prioritynormal
typebug
done in0.4.2
load left0.000
closed by#b856bc8f580e Fix handling of binary query arguments when they are multiple
patchFix handling of binary query arguments when they are multiple [applied]