aboutsummaryrefslogtreecommitdiff
path: root/web/apache/request.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-09-28 18:00:43 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-09-28 18:00:43 +0300
commitcdcb44468670b2f557070c43f2ca6dd389eda03c (patch)
tree48d5eeef90779731b04b4a9654957acbe2b74197 /web/apache/request.cxx
parentc3020dee6c91f2694cd098566716f2a4a7794dbe (diff)
Adapt to renaming butl::casecmp() to icasecmp()
Diffstat (limited to 'web/apache/request.cxx')
-rw-r--r--web/apache/request.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/web/apache/request.cxx b/web/apache/request.cxx
index ba5952e..bed7042 100644
--- a/web/apache/request.cxx
+++ b/web/apache/request.cxx
@@ -35,7 +35,7 @@
#include <streambuf>
#include <algorithm> // min()
-#include <libbutl/utility.mxx> // casecmp()
+#include <libbutl/utility.mxx> // icasecmp()
#include <libbutl/optional.mxx>
#include <libbutl/timestamp.mxx>
@@ -589,10 +589,10 @@ namespace web
if (ct != nullptr)
{
- form_multipart_ = casecmp ("multipart/form-data", ct, 19) == 0;
+ form_multipart_ = icasecmp ("multipart/form-data", ct, 19) == 0;
if (form_multipart_ ||
- casecmp ("application/x-www-form-urlencoded", ct, 33) == 0)
+ icasecmp ("application/x-www-form-urlencoded", ct, 33) == 0)
*form_data_ = vector<char> (
istreambuf_iterator<char> (content (limit)),
istreambuf_iterator<char> ());
@@ -848,7 +848,7 @@ namespace web
{
assert (h->key != nullptr);
- if (casecmp (h->key, "Cookie") == 0)
+ if (icasecmp (h->key, "Cookie") == 0)
{
for (const char* n (h->val); n != nullptr; )
{
@@ -899,7 +899,7 @@ namespace web
// Same content type.
//
- casecmp (type, rec_->content_type ? rec_->content_type : "") == 0)
+ icasecmp (type, rec_->content_type ? rec_->content_type : "") == 0)
{
// No change, return the existing stream.
//