diff --git a/src/3rdparty b/src/3rdparty
index e8bb1f1a6b2877c86519749ffab34f94bb6a1028..d147ad350da3c5795669abd9794665ea2cd7e5ae 160000
--- a/src/3rdparty
+++ b/src/3rdparty
@@ -1 +1 @@
-Subproject commit e8bb1f1a6b2877c86519749ffab34f94bb6a1028
+Subproject commit d147ad350da3c5795669abd9794665ea2cd7e5ae
diff --git a/src/core/web_contents_adapter.cpp b/src/core/web_contents_adapter.cpp
index 21540f5da7e3527f49d480aa0e6d136b7e5c1052..3e500396064da069e5f31e5d156c4d64b4b47d9b 100644
--- a/src/core/web_contents_adapter.cpp
+++ b/src/core/web_contents_adapter.cpp
@@ -630,13 +630,13 @@ void WebContentsAdapter::load(const QWebEngineHttpRequest &request)
                                            "HTTP-POST data can only be sent over HTTP(S) protocol"));
             return;
         }
+
+        params.post_data = network::ResourceRequestBody::CreateFromBytes(
+                    (const char*)request.postData().constData(),
+                    request.postData().length());
         break;
     }
 
-    params.post_data = network::ResourceRequestBody::CreateFromBytes(
-                (const char*)request.postData().constData(),
-                request.postData().length());
-
     // convert the custom headers into the format that chromium expects
     QVector<QByteArray> headers = request.headers();
     for (QVector<QByteArray>::const_iterator it = headers.cbegin(); it != headers.cend(); ++it) {