Skip to main content
typo fix
Source Link
shabunc
  • 25.3k
  • 22
  • 83
  • 113

I'm trying to read documentation and I must confess it is not an easy reading. I have no problem (after adding Access-Control-Allow-Origin header) to read responseText, but fail to get response header anywhere except Firefox.

So, my question is what is the right way to get response header, using cross-domain ajax?

I've tried to use (Access-ContolControl-Expose-Headers), but, again, failed to read header.

I'm trying to read documentation and I must confess it is not an easy reading. I have no problem (after adding Access-Control-Allow-Origin header) to read responseText, but fail to get response header anywhere except Firefox.

So, my question is what is the right way to get response header, using cross-domain ajax?

I've tried to use (Access-Contol-Expose-Headers), but, again, failed to read header.

I'm trying to read documentation and I must confess it is not an easy reading. I have no problem (after adding Access-Control-Allow-Origin header) to read responseText, but fail to get response header anywhere except Firefox.

So, my question is what is the right way to get response header, using cross-domain ajax?

I've tried to use (Access-Control-Expose-Headers), but, again, failed to read header.

added 27 characters in body; deleted 1 characters in body
Source Link
shabunc
  • 25.3k
  • 22
  • 83
  • 113

I'm trying to read documentation and I must confess it is not an easy reading. I have no problem (after adding Access-Control-Allow-Origin header) to read responseText, but fail to get response header anywhere except Firefox.

So, my question is what is the right way to get response header, using cross-domain ajax?

I've tried to use (Access-Contol-Expose-HeaderHeaders), but, again, failed to read header.

I'm trying to read documentation and I must confess it is not an easy reading. I have no problem (after adding Access-Control-Allow-Origin header) to read responseText, but fail to get response header.

So, my question is what is the right way to get response header, using cross-domain ajax?

I've tried to use (Access-Contol-Expose-Header, but, again, failed to read header.

I'm trying to read documentation and I must confess it is not an easy reading. I have no problem (after adding Access-Control-Allow-Origin header) to read responseText, but fail to get response header anywhere except Firefox.

So, my question is what is the right way to get response header, using cross-domain ajax?

I've tried to use (Access-Contol-Expose-Headers), but, again, failed to read header.

edited tags
Link
shabunc
  • 25.3k
  • 22
  • 83
  • 113
added 185 characters in body
Source Link
shabunc
  • 25.3k
  • 22
  • 83
  • 113
Loading
Source Link
shabunc
  • 25.3k
  • 22
  • 83
  • 113
Loading