[Freeipa-devel] [PATCH] Checking empty AJAX response in ipa_cmd().

Adam Young ayoung at redhat.com
Thu Sep 30 01:41:02 UTC 2010


On 09/29/2010 08:34 PM, Endi Sukma Dewata wrote:
> ----- "Endi Sukma Dewata"<edewata at redhat.com>  wrote:
>
>    
>> Some errors (e.g. server down) are reported as AJAX success with
>> empty data and/or HTTP error code != 200. The ipa_cmd() has been
>> modified so that it will detect such errors and invoke the error
>> handler.
>>      
> It turns out that pulling local JSON files will result in HTTP error
> code 0, so it's not a good indicator for error. I've removed it in
> the new patch.
>
> --
> Endi S. Dewata
>    
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
ACK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100929/e929ae01/attachment.htm>


More information about the Freeipa-devel mailing list