CORS xmlhttprequest HEAD method

后端 未结 2 1651
别跟我提以往
别跟我提以往 2021-01-22 23:29

When requesting header data using HEAD method with CORS object, it returns null.

getAllResponseHeaders() -> return null.

How to setup php headers in the other si

2条回答
  •  忘了有多久
    2021-01-23 00:23

    Since the last answer to this question, modern browsers respect the Access-Control-Expose-Headers header.

    This bug is fixed in up to date versions of IE (11) and Chrome (43) and Firefox (39).

提交回复
热议问题