1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-31 18:01:00 +01:00

Allow Feed HTTP hooks to be https://

Summary: Fixes T3503. "HTTPFuture" is specialized and HTTP-only; "HTTPSFuture" is generalized and HTTP+HTTPS.

Test Plan: yeah not so much

Reviewers: btrahan, edward

Reviewed By: edward

CC: aran

Maniphest Tasks: T3503

Differential Revision: https://secure.phabricator.com/D6378
This commit is contained in:
epriestley 2013-07-08 09:26:21 -07:00
parent ddcdf0a04f
commit f510edb9a1

View file

@ -16,7 +16,7 @@ final class FeedPublisherHTTPWorker extends FeedPushWorker {
'epoch' => $data->getEpoch(),
);
id(new HTTPFuture($uri, $post_data))
id(new HTTPSFuture($uri, $post_data))
->setMethod('POST')
->setTimeout(30)
->resolvex();