Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F41646723
default.ex
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
606 B
Referenced Files
None
Subscribers
None
default.ex
View Options
# Pleroma: A lightweight social networking server
# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma.HTTP.AdapterHelper.Default
do
alias
Pleroma.HTTP.AdapterHelper
@behaviour
Pleroma.HTTP.AdapterHelper
@spec
options
(
keyword
(),
URI
.
t
())
::
keyword
()
def
options
(
opts
,
_uri
)
do
proxy
=
Pleroma.Config
.
get
([
:http
,
:proxy_url
],
nil
)
AdapterHelper
.
maybe_add_proxy
(
opts
,
AdapterHelper
.
format_proxy
(
proxy
))
end
@spec
get_conn
(
URI
.
t
(),
keyword
())
::
{
:ok
,
keyword
()}
def
get_conn
(
_uri
,
opts
),
do
:
{
:ok
,
opts
}
end
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Sun, Feb 15, 4:37 AM (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
977939
Default Alt Text
default.ex (606 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline
Log In to Comment