mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-09 10:38:10 -06:00
There were a few issues here: 1. The version header was not always passed to fetch 2. HTTP headers are case insensitive and Node an Fetch uses lower case. 3. The old code used a Map instead of an object as map. Node and Fetch uses an object as map. Now we just pass along the response headers. Fixes #1881 Closes #1880 (which this is partially based in)