Skip to content

Commit ac90c56

Browse files
committed
fix(v3/impl): Add missing Content-Type request header
1 parent 63eb254 commit ac90c56

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

v3/impl-java/src/main/kotlin/ru/epserv/proxycheck/v3/impl/ProxyCheckApiImpl.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ class ProxyCheckApiImpl(
6464

6565
timeout(readTimeout.toJavaDuration())
6666
header("User-Agent", versionInfo.httpUserAgent)
67+
header("Content-Type", "application/x-www-form-urlencoded")
6768
}.build(),
6869
HttpResponse.BodyHandlers.ofString(Charsets.UTF_8),
6970
)

0 commit comments

Comments
 (0)