Flush body when POST requests (#5128)
This commit is contained in:
parent
b9f59ebcc6
commit
3d9b8847d2
5 changed files with 5 additions and 5 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue