aboutsummaryrefslogtreecommitdiff
path: root/libphobos/src/std/net/curl.d
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gcc.gnu.org>2019-01-26 13:41:26 +0000
committerIain Buclaw <ibuclaw@gcc.gnu.org>2019-01-26 13:41:26 +0000
commit685ae5b8717e08e0d7b5f147ed4c6bfeff10c4f6 (patch)
treeb896cf6f236550f22bc5157e858c6714b7411e47 /libphobos/src/std/net/curl.d
parent8f915edbe104731838ef8c6821829a93faf5d063 (diff)
downloadgcc-685ae5b8717e08e0d7b5f147ed4c6bfeff10c4f6.zip
gcc-685ae5b8717e08e0d7b5f147ed4c6bfeff10c4f6.tar.gz
gcc-685ae5b8717e08e0d7b5f147ed4c6bfeff10c4f6.tar.bz2
libphobos: Merge phobos and druntime with upstream.
Commits merged from druntime. Fix struct tls_index definition on x32 https://github.com/dlang/druntime/pull/2354 Update SectionGroup signatures to match on all targets https://github.com/dlang/druntime/pull/2401 Fix issue 19128 - argument to alloca may be too large https://github.com/dlang/druntime/pull/2409 Define some common filesystem limits in core.stdc.limits https://github.com/dlang/druntime/pull/2460 Use version Darwin instead of OSX in core.sys.posix.aio https://github.com/dlang/druntime/pull/2470 Commits merged from phobos. Don't run HardFloat tests on SoftFloat systems https://github.com/dlang/phobos/pull/5358 Remove reliance on stdin, stdout, stderr being aliasable https://github.com/dlang/phobos/pull/5718 Solaris: add import clock_gettime to currStdTime https://github.com/dlang/phobos/pull/5807 Don't print debug messages when building unittests https://github.com/dlang/phobos/pull/6827 Add HPPA support to phobos Fixes https://gcc.gnu.org/PR89054 https://github.com/dlang/phobos/pull/6836 From-SVN: r268293
Diffstat (limited to 'libphobos/src/std/net/curl.d')
-rw-r--r--libphobos/src/std/net/curl.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/libphobos/src/std/net/curl.d b/libphobos/src/std/net/curl.d
index 3465bdf..9d75141 100644
--- a/libphobos/src/std/net/curl.d
+++ b/libphobos/src/std/net/curl.d
@@ -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");
}
}