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

Adam Young ayoung at redhat.com
Thu Sep 30 01:46:43 UTC 2010


On 09/29/2010 09:41 PM, Adam Young wrote:
> 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
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
Pushed to master
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20100929/094bb4b3/attachment.htm>


More information about the Freeipa-devel mailing list