mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-29 21:30:54 +00:00
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
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue