Flush body when POST requests (#5128)
This commit is contained in:
parent
b9f59ebcc6
commit
3d9b8847d2
5 changed files with 5 additions and 5 deletions
|
@ -7,7 +7,7 @@ class UnsubscribeService < BaseService
|
|||
@account = account
|
||||
|
||||
begin
|
||||
@response = build_request.perform
|
||||
@response = build_request.perform.flush
|
||||
|
||||
Rails.logger.debug "PuSH unsubscribe for #{@account.acct} failed: #{@response.status}" unless @response.status.success?
|
||||
rescue HTTP::Error, OpenSSL::SSL::SSLError => e
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue