Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
a621ffb2
Commit
a621ffb2
authored
Jul 18, 2017
by
Davis King
Browse files
merged
parents
e7fe423b
6525344f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dlib/http_client/http_client.cpp
dlib/http_client/http_client.cpp
+2
-2
No files found.
dlib/http_client/http_client.cpp
View file @
a621ffb2
...
...
@@ -15,7 +15,7 @@
namespace
dlib
{
typedef
dlib
::
shared_ptr
<
dlib
::
timeout
>
timeout_ptr
;
typedef
std
::
shared_ptr
<
dlib
::
timeout
>
timeout_ptr
;
#ifdef _MSC_VER
...
...
@@ -456,7 +456,7 @@ namespace dlib
std
::
ifstream
in
(
si
->
second
.
c_str
());
postBody
<<
"--"
<<
mime_boundary
<<
"
\r\n
"
"Content-Disposition: form-data; name=
\"
"
<<
ci
->
first
<<
"
\"
; filename=
\"
"
<<
get_basename
(
si
->
second
)
<<
"
\"\r\n\r\n
"
<<
in
<<
"
\r\n
"
;
<<
in
.
rdbuf
()
<<
"
\r\n
"
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment