Merged in masayuki2009/nuttx.apps/mp3_on_webserver (pull request #180)
netutils/webserver: Add mp3 mime type to httpd.c Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com> Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
parent
b12b61df69
commit
c1317331d3
@ -466,7 +466,9 @@ static int send_headers(struct httpd_state *pstate, int status, int len)
|
||||
{ "png", "image/png" },
|
||||
{ "gif", "image/gif" },
|
||||
{ "jpeg", "image/jpeg" },
|
||||
{ "jpg", "image/jpeg" }
|
||||
{ "jpg", "image/jpeg" },
|
||||
|
||||
{ "mp3", "audio/mpeg" }
|
||||
};
|
||||
|
||||
ptr = strrchr(pstate->ht_filename, ISO_period);
|
||||
|
Loading…
Reference in New Issue
Block a user