Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
1
-
Turing
-
Turing Sprint 202, Turing Sprint 203
Description
Currently when starting the hap and the wpm dev server the flag icons are not appearing in Chrome (72).
This is probably because headers like the content type are missing.
If you hit the webpack dev server directly you can see that more headers are present and the flag icons render just fine.
Updated description ( Thu Feb 28 14:47:32 CET 2019 ):
Current situation
webpack response
jq '.log.entries[0].response.headers' us.svg.npm.har [ { "name": "X-Powered-By", "value": "Express" }, { "name": "Access-Control-Allow-Origin", "value": "*" }, { "name": "Accept-Ranges", "value": "bytes" }, { "name": "Content-Type", "value": "image/svg+xml; charset=UTF-8" }, { "name": "Content-Length", "value": "3921" }, { "name": "ETag", "value": "W/\"f51-yz9UyR7at80CprACyQs/MLOY2lg\"" }, { "name": "Date", "value": "Mon, 25 Feb 2019 15:42:28 GMT" }, { "name": "Connection", "value": "keep-alive" } ]
proxy response
jq '.log.entries[0].response.headers' us.svg.proxy.har [ { "name": "Content-Length", "value": "3921" }, { "name": "Date", "value": "Mon, 25 Feb 2019 15:40:48 GMT" } ]
Desired situation
proxy response
jq '.log.entries[0].response.headers' us.svg.proxy.after.har [ { "name": "X-Powered-By", "value": "Express" }, { "name": "Access-Control-Allow-Origin", "value": "*" }, { "name": "Accept-Ranges", "value": "bytes" }, { "name": "Content-Type", "value": "image/svg+xml; charset=UTF-8" }, { "name": "Content-Length", "value": "3921" }, { "name": "ETag", "value": "W/\"f51-yz9UyR7at80CprACyQs/MLOY2lg\"" }, { "name": "Date", "value": "Mon, 25 Feb 2019 15:42:28 GMT" }, { "name": "Connection", "value": "keep-alive" } ]