(name string)
| 1294 | } |
| 1295 | |
| 1296 | func (this *HTTPWriter) shouldIgnoreHeader(name string) bool { |
| 1297 | switch name { |
| 1298 | case "Set-Cookie", "Strict-Transport-Security", "Alt-Svc", "Upgrade", "X-Cache": |
| 1299 | return true |
| 1300 | default: |
| 1301 | return this.isPartial && name == "Content-Range" |
| 1302 | } |
| 1303 | } |
no outgoing calls
no test coverage detected