Only allow http and https schemes for HTTP/2 push.

Trusted proxy only pushes http scheme resources according to
the data reduction proxy team.  Cross-origin push in other
cases is only allowed for https scheme.  Even in the same origin
case, no other scheme should be accepted for pushes.

Bug: 554220
Change-Id: I13f8bf62d76b9fc4cce914840daa46eff85021bc
Reviewed-on: https://chromium-review.googlesource.com/854432
Reviewed-by: Helen Li <xunjieli@chromium.org>
Commit-Queue: Bence Béky <bnc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#527697}
1 file changed