[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-twister] branch master updated: force Expect: 100-co
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-twister] branch master updated: force Expect: 100-continue header. |
Date: |
Tue, 18 Sep 2018 18:26:57 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository twister.
The following commit(s) were added to refs/heads/master by this push:
new 701d03e force Expect: 100-continue header.
701d03e is described below
commit 701d03e05444a1ad9bba110c03aaf11278354790
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Sep 18 18:26:38 2018 +0200
force Expect: 100-continue header.
---
src/twister/taler-twister-service.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/twister/taler-twister-service.c
b/src/twister/taler-twister-service.c
index 3e0bed7..046687a 100644
--- a/src/twister/taler-twister-service.c
+++ b/src/twister/taler-twister-service.c
@@ -1524,6 +1524,12 @@ create_response (void *cls,
MHD_HEADER_KIND,
&con_val_iter,
hr);
+
+ if (0 == strcasecmp (meth,
+ MHD_HTTP_METHOD_POST))
+ hr->headers = curl_slist_append (hr->headers,
+ "Expect: 100-continue");
+
curl_easy_setopt (hr->curl,
CURLOPT_HTTPHEADER,
hr->headers);
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-twister] branch master updated: force Expect: 100-continue header.,
gnunet <=