This website works better with JavaScript.
Home
Explore
lain.church
Help
Register
Sign In
squeegily
/
pleroma
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
42
Wiki
Activity
Browse Source
Add `with_body: true` to requests relying on `max_body: val`
tags/v1.1.4
Roman Chvanikov
5 years ago
parent
4977e96fa4
commit
4615e56219
2 changed files
with
4 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
lib/pleroma/web/rel_me.ex
+2
-1
lib/pleroma/web/rich_media/parser.ex
+ 2
- 1
lib/pleroma/web/rel_me.ex
View File
@@ -6,7 +6,8 @@ defmodule Pleroma.Web.RelMe do
@hackney_options [
pool: :media,
recv_timeout: 2_000,
max_body: 2_000_000
max_body: 2_000_000,
with_body: true
]
if Mix.env() == :test do
+ 2
- 1
lib/pleroma/web/rich_media/parser.ex
View File
@@ -12,7 +12,8 @@ defmodule Pleroma.Web.RichMedia.Parser do
@hackney_options [
pool: :media,
recv_timeout: 2_000,
max_body: 2_000_000
max_body: 2_000_000,
with_body: true
]
def parse(nil), do: {:error, "No URL provided"}
Write
Preview
Loading…
Cancel
Save