Skip to content

Commit b17bc59

Browse files
eiledeanberris
authored andcommitted
1 parent 827867f commit b17bc59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

boost/network/protocol/http/client/facade.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class basic_client_facade {
122122
} else {
123123
if (boost::empty(content_type_headers)) {
124124
typedef typename char_<Tag>::type char_type;
125-
static char_type content_type[] = "x-application/octet-stream";
125+
static char_type* content_type = "x-application/octet-stream";
126126
request << header("Content-Type", content_type);
127127
}
128128
}
@@ -227,7 +227,7 @@ class basic_client_facade {
227227
} else {
228228
if (boost::empty(content_type_headers)) {
229229
typedef typename char_<Tag>::type char_type;
230-
static char_type content_type[] = "x-application/octet-stream";
230+
static char_type* content_type = "x-application/octet-stream";
231231
request << header("Content-Type", content_type);
232232
}
233233
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy