Skip to content

Latest commit

 

History

History
54 lines (44 loc) · 2.33 KB

FUTURE.md

File metadata and controls

54 lines (44 loc) · 2.33 KB

Future

  • HTTP/2 support

  • Investigate Windows + HTTPS + Request Stream issue (seems to only happen in tests)

  • Introductory video or gif, with real-world examples, on main README.md

  • Useful examples/

    • With videos and gifs
    • Progress logging examples:
      • By percent
      • By bytes
      • Time - estimated & total
  • Use makeNestedDirectory for request's toFile option

    • Update test/request/shared-options
    • Consider file URLs, which contain encoded paths
  • Error messages in more languages

  • Use process.env.LANG as the fallback preferredErrorLanguage

    • Perhaps:
      const preferredErrorLanguage = process.env.LANG.split('.')[0].split('_')[0]
      • Consider Chinese, where language locale matters
  • Proxy support

  • options.range OBJECT - an easy, convenient option for RANGE requests, in bytes