Skip to content

Latest commit

 

History

History
23 lines (22 loc) · 691 Bytes

todo.md

File metadata and controls

23 lines (22 loc) · 691 Bytes

TODO

  • Follow limited redirects
  • doNotFollowRedirects()
  • Throw on too many redirects
  • Throw on !2xx response
  • Log to file
  • Extract verbose arg to method call like (log())
  • All http verbs
  • Catch Curl errors
  • Other then 302 redirect codes
  • Status code as text
  • Inject Response class to allow extension
  • Retry same request a few times on recoverable errors
    • 500 errors
    • DNS failures
    • Retry with pause
  • Reset counters when result returned to allow object client reuse
  • URL rotation and fallbacks
  • Post as FORM_URLENCODED
  • Post as TEXT?..
  • Get with data
  • Return binary data