Christopher Townson wrote:
> How does the throttling work for the Connotea server?
> 
> I'm wondering because API calls that get refused receive HTML (rather than
> RDF or XML, which is not ideal to have to handle as a client).
> 
> Would it be possible to get the server to return an RDF message when API
> calls are refused? This could also make the reasoning clear by providing a
> human-readable error message.

Hi Chris,

We may do this at some point. Throttling just happens earlier in the 
process.

What we actually advise is to first refer to the HTTP status code. For 
503 as the return code you can stop and loop for a retry after a pause.

For API access, you should say "WWW::Connotea" in your outbound 
User-Agent header, which will be recognized on our end for a bit of 
extra help. (The Perl API wrapper, if not all of them, should do this 
for you.)

This page describes the throttling algorithm:
http://www.connotea.org/wiki/Throttling

Regards,
Martin Flack

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Connotea-code-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/connotea-code-devel

Reply via email to