continue is only allowed within a for or while loop. You can easily restructure your function to loop until a valid request.

 

HTTPX 基础教程-新乡seo|网站优化,网站建设_微信公众号:zeropython—昊天博客