send content-type when LWS_WITH_RANGES=OFF
authorlnmx <len@lnmx.org>
Sat, 12 Aug 2017 12:53:58 +0000 (20:53 +0800)
committerAndy Green <andy@warmcat.com>
Sat, 12 Aug 2017 12:53:58 +0000 (20:53 +0800)
commite11dcaad414d0259b4bd8dcdd6edeed662ce5f06
tree47e2de435316e7e9d48809c1c4205097efb75c93
parent1ead9b4c3ca1a3c4dbce0fe4b05b0ea00328755c
send content-type when LWS_WITH_RANGES=OFF

https://github.com/warmcat/libwebsockets/pull/987

With the RANGES feature disabled, lws_serve_http_file would
not add the content-type header to the response.
lib/server.c