Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Add missing `application/` to Content-Type match (#2183)

Vinicius Brasil263a35936655
diff --git a/lib/plausible/http_client.ex b/lib/plausible/http_client.ex
index 2a971e35db..a2c490d013 100644
--- a/lib/plausible/http_client.ex
+++ b/lib/plausible/http_client.ex
@@ -59,7 +59,7 @@ defmodule Plausible.HTTPClient do
end)
case String.downcase(content_type) do
- "x-www-form-urlencoded" ->
+ "application/x-www-form-urlencoded" ->
URI.encode_query(params)
_ ->