From c3cb23f47d713cdbe7117bd7224b5a56cb56c1d4 Mon Sep 17 00:00:00 2001 From: Felipe Zimmerle Date: Fri, 24 Feb 2017 11:17:41 -0300 Subject: [PATCH] Removes the ';' from the x-www-form-urlencoded body-processor comparison --- src/transaction.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transaction.cc b/src/transaction.cc index fb4dabb4..63f27208 100644 --- a/src/transaction.cc +++ b/src/transaction.cc @@ -541,7 +541,7 @@ int Transaction::addRequestHeader(const std::string& key, if (keyl == "content-type") { std::string multipart("multipart/form-data"); - std::string urlencoded("application/x-www-form-urlencoded;"); + std::string urlencoded("application/x-www-form-urlencoded"); std::string l = utils::string::tolower(value); if (l.compare(0, multipart.length(), multipart) == 0) { this->m_requestBodyType = MultiPartRequestBody;