Page MenuHomePhorge

web_push.ex
No OneTemporary

Size
446 B
Referenced Files
None
Subscribers
None

web_push.ex

# 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

Mime Type
text/x-ruby
Expires
Mon, Jun 29, 9:34 AM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1627037
Default Alt Text
web_push.ex (446 B)

Event Timeline