fix mime type on leaf header
Signed-off-by: Luc <luc@honk-honk.com>
This commit is contained in:
parent
fc7c5e4539
commit
e46043cb8c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue