Viktar Donich | 508f81d | 2018-12-21 15:12:27 -0800 | [diff] [blame] | 1 | # mitmdump -s add-header.py |
2 | def 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;' |