POST requests do not reuse connection
On wpewebkit, carrying out multiple POST fetch request does not reuse the TCP connection and instead creates a new connection for each request. This occurs on wpewebkit 2.22, 2.28, and epiphany browser running WebKitGTK 2.38.6
For example with: fetch('https://reqres.in/api/articles', { method: "POST", body: JSON.stringify({ title: 'Fetch POST Request Example' }) });
Libsoup does not reuse connections for post requests due to an IDEMPOTENT check: https://gitlab.gnome.org/GNOME/libsoup/-/blob/d1509188ebd2219db1a147e9d77ffd5b4d161a2e/libsoup/soup-connection-manager.c#L399
However, on chrome two calls to the above fetch code reuse the connection from the first call, and also on Firefox.
Question: Why does libsoup specifically not reuse connections for non-idempotent methods, whereas other browsers such as chrome do?