Drathier
Drathier

Reputation: 14539

Set response headers in jasmine-ajax mock responses?

How do I set the response headers in respondWith with jasmine-ajax?

Upvotes: 1

Views: 483

Answers (1)

Drathier
Drathier

Reputation: 14539

Found it in the source code.

The response.responseHeaders field is a dictionary of response headers.

Upvotes: 1

Related Questions