Add response headers param to server_push_resource
commitdd2bc25e3dda8b05774a34500000df9bd57368e7
authorAlan Frindell <afrind@fb.com>
Tue, 3 Jan 2017 21:56:22 +0000 (3 13:56 -0800)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 3 Jan 2017 22:10:50 +0000 (3 14:10 -0800)
tree97178a4b7e852b20eea741dc867ff30543267c2a
parent14202af5a6cd7ba7c897ddf934a4967aca952405
Add response headers param to server_push_resource

Summary: This API was originally designed for SPDY server push, which did not have the separate PUSH_PROMISE concept.  The caller may want to specifically set headers on the response as opposed to the promise.

Reviewed By: ranjeeth

Differential Revision: D4266622

fbshipit-source-id: c82960c162c290b5801dfef3c470c8a20bd0b5b2
hphp/runtime/server/proxygen/proxygen-transport.cpp
hphp/runtime/server/proxygen/proxygen-transport.h
hphp/runtime/server/transport.h
hphp/runtime/test/proxygen-transport-test.cpp