[Libwebsockets] [libwebsockets] Fix Content-Type header of http status response (#76)

"Andy Green (林安廸)" andy at warmcat.com
Thu Feb 27 14:32:44 CET 2014


On 27/02/14 18:43, the mail apparently from Patrick Gansterer included:
> The header for setting the mime type is called ‘Content-Type’ and not ‘Mime-Type’.

Urgh I guess the browser just looked at the filesuffix and did the right 
thing anyway...

http://git.libwebsockets.org/cgi-bin/cgit/libwebsockets/commit/?id=fce64cda4cab0ec7b36605ff1065117d7b2e1804

-Andy

> You can merge this Pull Request by running:
>
>    git pull https://github.com/paroga/libwebsockets mime
>
> Or you can view, comment on it, or merge it online at:
>
>    https://github.com/warmcat/libwebsockets/pull/76
>
> -- Commit Summary --
>
>    * Fix Content-Type header of http status response
>
> -- File Changes --
>
>      M lib/server.c (2)
>
> -- Patch Links --
>
> https://github.com/warmcat/libwebsockets/pull/76.patch
> https://github.com/warmcat/libwebsockets/pull/76.diff
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/warmcat/libwebsockets/pull/76
>




More information about the Libwebsockets mailing list