Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fetch get request returns empty headers

Headers was indeed sent via http: headers was sent via http

However, fetch returned empty headers: empty headers returned by fetch

like image 241
zachguo Avatar asked Aug 20 '15 20:08

zachguo


1 Answers

It turns out that I need to set Access-Control-Expose-Headers to include the headers I would like to expose.

like image 197
zachguo Avatar answered Nov 15 '22 23:11

zachguo