On 2013/09/13 13:24:32, frankban wrote:
> On 2013/09/13 13:16:21, rharding wrote:
> > server/guiserver/bundles/views.py:182: deployment_id =
> > request.params.get('DeploymentId')
> > caps in the query string? why not match the var name used
deployment_id?
> params is not really a querystring, it's the content of the Params
field
> included in the WebSocket message. Caps are used for consistency with
all
> the other juju-core API calls.
Ah, ok. In pyramid/charmworld request.params is a map into
request.GET/POST.
On 2013/09/13 13:24:32, frankban wrote:
> On 2013/09/13 13:16:21, rharding wrote:
> > server/ guiserver/ bundles/ views.py: 182: deployment_id = params. get('Deployment Id')
> > request.
> > caps in the query string? why not match the var name used
deployment_id?
> params is not really a querystring, it's the content of the Params
field
> included in the WebSocket message. Caps are used for consistency with
all
> the other juju-core API calls.
Ah, ok. In pyramid/charmworld request.params is a map into
request.GET/POST.
https:/ /codereview. appspot. com/13549046/