node-fetch v2.1.0 Release Notes

Release Date: 2018-03-05 // about 6 years ago
  • ๐Ÿ‘€ See CHANGELOG:

    • โœจ Enhance: allow using ArrayBuffer as the body of a fetch() or Request
    • ๐Ÿ›  Fix: store HTTP headers of a Headers object internally with the given case, for compatibility with older servers that incorrectly treated header names in a case-sensitive manner
    • ๐Ÿ›  Fix: silently ignore invalid HTTP headers
    • ๐Ÿ›  Fix: handle HTTP redirect responses without a Location header just like non-redirect responses
    • ๐Ÿ›  Fix: include bodies when following a redirection when appropriate