Track ETag header responses in special event logging schema

Bug: T135171
Change-Id: I70d6db0897c3f08c28d5841302ba7e196f362e48
This commit is contained in:
Alex Monk 2016-05-26 23:27:43 +01:00
parent afd5944bde
commit 51dd790710

View file

@ -183,6 +183,9 @@
duration: ve.now() - start,
targetName: targetName
} );
mw.track( 'event.VET135171', {
msg: 'getResponseHeader: ' + jqxhr.getResponseHeader( 'etag' )
} );
return [ data, jqxhr.getResponseHeader( 'etag' ) ];
},
function ( response ) {