Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F85197767
web_push.ex
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
446 B
Referenced Files
None
Subscribers
None
web_push.ex
View Options
# Pleroma: A lightweight social networking server
# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule
Pleroma.HTTP.WebPush
do
@moduledoc
false
def
post
(
url
,
payload
,
headers
,
options
\\
[])
do
list_headers
=
headers
|>
Map
.
to_list
()
|>
Kernel
.++
([{
"content-type"
,
"octet-stream"
}])
Pleroma.HTTP
.
post
(
url
,
payload
,
list_headers
,
options
)
end
end
File Metadata
Details
Attached
Mime Type
text/x-ruby
Expires
Mon, Jun 29, 9:34 AM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1627037
Default Alt Text
web_push.ex (446 B)
Attached To
Mode
rPUBE pleroma-upstream
Attached
Detach File
Event Timeline
Log In to Comment