franzenzenhofer / f19n-obtrusive-livetest

A sandboxed, extendable testing chrome extension and framework! It runs pre-defined and custom tests on each page that you visit.
https://chrome.google.com/webstore/detail/f19n-obstrusive-live-test/jbnaibigcohjfefpfocphcjeliohhold?hl=en
55 stars 1 forks source link

Make raw HTTP-Headers accessible (+ normalised headers) (<1) #24

Closed neuling closed 8 years ago

neuling commented 8 years ago

Done (546775dd8e86ef5d0a2fe39cd4b743bc7195902e)

For backward compatibility the raw headers can be found under rawResponseHeaders.

Example:

function(eventCollection) {
  var onHeadersReceivedEvent = eventCollection.firstEventOfType('onHeadersReceived');
  var { responseHeaders, rawResponseHeaders } = onHeadersReceivedEvent;
  …