| skipped 75 lines |
76 | 76 | | bytes http_request_body = 3; |
77 | 77 | | } |
78 | 78 | | |
| 79 | + | // Represents an HTTP header. |
| 80 | + | message HttpHeader { |
| 81 | + | string key = 1; |
| 82 | + | string value = 2; |
| 83 | + | } |
| 84 | + | |
79 | 85 | | message CrawlResult { |
80 | 86 | | // The target visited by the crawler. |
81 | 87 | | CrawlTarget crawl_target = 1; |
| skipped 9 lines |
91 | 97 | | |
92 | 98 | | // The content of the resource served at the crawl target. |
93 | 99 | | bytes content = 5; |
| 100 | + | |
| 101 | + | // Http headers of the response |
| 102 | + | repeated HttpHeader response_headers = 6; |
94 | 103 | | } |
95 | 104 | | |