diff --git a/src/shrpx_http2_upstream.cc b/src/shrpx_http2_upstream.cc index 470585af..7e909a25 100644 --- a/src/shrpx_http2_upstream.cc +++ b/src/shrpx_http2_upstream.cc @@ -1558,7 +1558,9 @@ int Http2Upstream::adjust_pushed_stream_priority(Downstream *downstream) { } if (!util::istarts_with_l(ct->value, "application/javascript") && - !util::istarts_with_l(ct->value, "text/css")) { + !util::istarts_with_l(ct->value, "text/css") && + // for polymer... + !util::istarts_with_l(ct->value, "text/html")) { return 0; }