You should use an error (although it will work even if you send it as a
warning). The reasoning behind sending an error is that you do not return
any data.
We will fix the documentation.

On Sun, Sep 11, 2011 at 12:37 AM, Daniel Norton <[email protected]> wrote:

> The protocol document usually says that the "not_modified" response is an
> error, but in at least one place, it says it's a warning.
>
> For those who know from direct experience (*no assuming, please*), which
> does the Google Chart widget actually expect?
>
> From
> http://code.google.com/apis/chart/interactive/docs/dev/implementing_data_source.htm
>
> ..
> Optimizing JSON Responses
> ...
>
>
>    - If the data has not changed from the previous request, the data
>       source sends back status=warning, reason=not_modified,sig=*
>       old_sig_value*.
>
> ...
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-visualization-api/-/MokIeW0Z1DkJ.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to