Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
知道 apache http 客户端如何处理 Retry-After 标头吗?Apache 提供了默认的重试处理程序实现,但我在那里看不到任何基于重试标头的逻辑。如果它不处理重试标头,那么实现它的正确方法是什么。(日期解析和睡眠逻辑)
我找到了以下链接,我们可以在其中看到处理重试标头的示例实现
https://issues.apache.org/jira/browse/SHIINDIG-1218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel