blob: f9b2b121e09ad50dbad1f3c72890c56dc5c55a2a [file] [log] [blame]
Viktar Donich508f81d2018-12-21 15:12:27 -08001# mitmdump -s add-header.py
2def response(flow):
3 if flow.request.host == 'gerrit-review.googlesource.com' and flow.request.path == "/c/92000?1":
4 #flow.response.headers['any'] = '<meta.rdf>; rel=meta'
5 flow.response.headers['Link'] = '</changes/98000/detail?O=11640c>;rel="preload";crossorigin;'