mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 03:19:10 +00:00
FIX: Content-Lenght should be the size in octets
This commit is contained in:
parent
afef9a0668
commit
707fcb9434
@ -42,7 +42,7 @@ module Jobs
|
||||
headers = {
|
||||
'Accept' => '*/*',
|
||||
'Connection' => 'close',
|
||||
'Content-Length' => body.size,
|
||||
'Content-Length' => body.bytesize,
|
||||
'Content-Type' => content_type,
|
||||
'Host' => uri.host,
|
||||
'User-Agent' => "Discourse/" + Discourse::VERSION::STRING,
|
||||
|
Loading…
x
Reference in New Issue
Block a user