[katello-devel] API V2 format changes
Lukas Zapletal
lzap at redhat.com
Fri Mar 8 08:59:01 UTC 2013
On Thu, Mar 07, 2013 at 12:42:25PM -0500, Jeff Weiss wrote:
> * Support messages in 2XX responses? No, unless there's something to be
> conveyed, beyond "the operation succeeded". The success should be
> evident by the response code right? That's a lot easier to check than
> an english string.
Well I think the motivation is not to force clients to check the
message, you can ignore it. The thing is we are able to hand over this
information in the cli client directly. So you could do something like:
if response.code == 200 then
print response.message
--
Later,
Lukas "lzap" Zapletal
#katello #systemengine
More information about the katello-devel
mailing list