[ 
https://issues.apache.org/jira/browse/SHINDIG-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12594348#action_12594348
 ] 

Kevin Brown commented on SHINDIG-60:
------------------------------------

Errors to makeRequest calls should always propagate down through the "errors" 
member of the response object. The expected response form for FEED requests 
would be:

{
data: (json encoded data, ideally already returned as JSON so as to avoid a 
redundant parse)
rc: (http status code)
errors: (any errors that occured while processing, in the form of an array of 
strings)
}

> Shindig does not properly support the FEED content type as defined by the 
> gadgets spec for gadgets.io.MakeRequest
> -----------------------------------------------------------------------------------------------------------------
>
>                 Key: SHINDIG-60
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-60
>             Project: Shindig
>          Issue Type: Improvement
>          Components: Features (Javascript), Gadget Rendering Server (Java), 
> Gadget Rendering Server (PHP)
>            Reporter: Cassie Doll
>            Priority: Critical
>         Attachments: fix-SHINDIG-60-bug_rome.patch, io.js.patch, 
> ProxyHandler.java.patch
>
>
> The FEED contentType in gadgets.io.MakeRequest should not return general json 
> in the same way that the JSON contentType does. It should instead return a 
> structured object that looks like this: 
> http://code.google.com/apis/gadgets/docs/remote-content.html#Fetch_JSON

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to