Closed jeffersoneagley closed 3 years ago
I'm doing this:
const oQueryResponseList = await odata( url getDefaultRequestConfig() ) .get(endpoint) .fetch(someQuery); const myHeader = response.headers.get('x-some-header');
When I do this, I don't get any headers back, just null. Is this supposed to be not supported?
null
Basically, it's the fetch response. So yes this should be supported. Your sure this header is set by your server? Also what happens if you ask for some default header like content-type?
content-type
I'm doing this:
When I do this, I don't get any headers back, just
null
. Is this supposed to be not supported?