projects
/
profile
/
ivi
/
libwebsockets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12d09ef
)
fix mime type on leaf header
48/3148/1
author
Luc
<luc@honk-honk.com>
Sat, 23 Feb 2013 03:01:21 +0000
(11:01 +0800)
committer
Kevron Rees
<kevron_m_rees@linux.intel.com>
Thu, 7 Mar 2013 21:01:38 +0000
(13:01 -0800)
Signed-off-by: Luc <luc@honk-honk.com>
test-server/test-server.c
patch
|
blob
|
history
diff --git
a/test-server/test-server.c
b/test-server/test-server.c
index
b059f1c
..
6af7a99
100644
(file)
--- a/
test-server/test-server.c
+++ b/
test-server/test-server.c
@@
-157,7
+157,7
@@
static int callback_http(struct libwebsocket_context *context,
p += sprintf((char *)p,
"HTTP/1.0 200 OK\x0d\x0a"
"Server: libwebsockets\x0d\x0a"
- "Content-Type: image
-
jpeg\x0d\x0a"
+ "Content-Type: image
/
jpeg\x0d\x0a"
"Content-Length: %u\x0d\x0a\x0d\x0a",
(unsigned int)stat_buf.st_size);