Flush body when POST requests (#5128)

This commit is contained in:
abcang
2017-09-28 22:04:32 +09:00
committed by Eugen Rochko
parent b9f59ebcc6
commit 3d9b8847d2
5 changed files with 5 additions and 5 deletions

View File

@ -37,7 +37,7 @@ class Pubsubhubbub::DeliveryWorker
def callback_post_payload
request = Request.new(:post, subscription.callback_url, body: payload)
request.add_headers(headers)
request.perform
request.perform.flush
end
def blocked_domain?