Code review comment for lp:~julian-edwards/gwacl/get-container-properties

Revision history for this message
Julian Edwards (julian-edwards) wrote :

The response from this call is strangely all in response headers instead of XML in the body like most other calls, so I had to re-jig performRequest a bit so the headers are returned if you provide an non-nil http.Header in the request parameters.

It's annoying to have to copy the headers like it does, and could be avoided if we choose to turn the request parameter struct into a pointer so that arbitrary contained pointers could be returned.

« Back to merge proposal