summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2013-09-16 13:13:52 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2014-08-25 18:42:07 +0200
commitc66b6df501a0b40210ab2f23882ce3f57fdb1f5f (patch)
tree68dbcc1018999932522d4bb2c37179ef9c120754 /docs
parent3513c3d80c4b5f60ab6531e5514a538f3e93f85e (diff)
downloadlibrest-c66b6df501a0b40210ab2f23882ce3f57fdb1f5f.tar.gz
Allow to modify REST function in serialize_params vfunc
RestProxyCall::prepare_message() calls the serialize_params vfunc so that child classes can serialize the call parameters in whichever way they want. One way of doing that could be to append the parameters to the URI that is called (http://example.com?param1=value1;param2=value2). However, the URI to call is determined at the beginning of prepare_message(), and is not refreshed after calling RestProxyCall::serialize_params(), so it's not possible to append parameters to the URI that is going to be called. This commit rebuilds the URI to call after calling serialize_params() in case it has changed. https://bugzilla.gnome.org/show_bug.cgi?id=708359
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions