Merge pull request #1738 from deepak1556/http_ptach

webContents: providing header details with response event
This commit is contained in:
Cheng Zhao 2015-05-27 15:05:55 +08:00
commit 1c60575dc0
4 changed files with 21 additions and 6 deletions

View file

@ -10,7 +10,8 @@ WEB_VIEW_EVENTS =
'did-start-loading': []
'did-stop-loading': []
'did-get-response-details': ['status', 'newUrl', 'originalUrl',
'httpResponseCode', 'requestMethod', 'referrer']
'httpResponseCode', 'requestMethod', 'referrer',
'headers']
'did-get-redirect-request': ['oldUrl', 'newUrl', 'isMainFrame']
'dom-ready': []
'console-message': ['level', 'message', 'line', 'sourceId']