[Libwebsockets] Send MIME type

Andy Green andy at warmcat.com
Sun Oct 11 06:53:08 CEST 2020



On 10/11/20 5:22 AM, Ernesto Messina wrote:
> Hi all,
> 
> I'm hosting a few videos that the browser reports that no MIME type was
> sent. File format are fine, the page works out of the server. I would
> need to know how to send MIME type. Maybe you know an example?

https://libwebsockets.org/git/libwebsockets/tree/minimal-examples/http-server/minimal-http-server-mimetypes/minimal-http-server-mimetypes.c

-Andy

> Thanks in advanced,
> Ernest
> 
> 
> _______________________________________________
> Libwebsockets mailing list
> Libwebsockets at ml.libwebsockets.org
> https://libwebsockets.org/mailman/listinfo/libwebsockets
> 


More information about the Libwebsockets mailing list