]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libphobos/src/std/net/curl.d
libphobos: Merge phobos and druntime with upstream.
[thirdparty/gcc.git] / libphobos / src / std / net / curl.d
index 3465bdf868552701c54a2fd3ae26b5c7402404b5..9d751411705e68f70be3d78fdd9dc91906fef7db 100644 (file)
@@ -659,7 +659,7 @@ if (is(T == char) || is(T == ubyte))
             s.send(httpOK(req.bdy));
         });
         auto res = post(host ~ "/path", ["name1" : "value1", "name2" : "value2"]);
-        assert(res == "name1=value1&name2=value2");
+        assert(res == "name1=value1&name2=value2" || res == "name2=value2&name1=value1");
     }
 }