[vscode] Change headers are added to fetch requests
Created by: ptxmac
This fixes #34338 (closed)
This change will provide the headers as a object instead of a list of pairs.
According to the fetch
documentation, both should work, and I suspect this problem is only occurring on my setup.