google / nel-collector

Network Error Logging (NEL) collector
https://wicg.github.io/network-error-logging/
Apache License 2.0
38 stars 17 forks source link

Pass the HTTP header with ReportBatch #41

Closed sambuddhabasu closed 5 years ago

sambuddhabasu commented 5 years ago

Passing the HTTP header will allow the NEL collector to extract additional information. One such example is to get the remote client address when the NEL collector is running behind a proxy.

sambuddhabasu commented 5 years ago

Resolved the comment and updated the PR so, all the tests pass now. As I don't have merge access, please merge this PR.