diff options
Diffstat (limited to 'src/gmrequest.c')
-rw-r--r-- | src/gmrequest.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gmrequest.c b/src/gmrequest.c index b667c82a..161c654c 100644 --- a/src/gmrequest.c +++ b/src/gmrequest.c | |||
@@ -454,6 +454,9 @@ void submit_GmRequest(iGmRequest *d) { | |||
454 | else if (endsWithCase_String(path, ".gif")) { | 454 | else if (endsWithCase_String(path, ".gif")) { |
455 | setCStr_String(&d->resp.meta, "image/gif"); | 455 | setCStr_String(&d->resp.meta, "image/gif"); |
456 | } | 456 | } |
457 | else if (endsWithCase_String(path, ".wav")) { | ||
458 | setCStr_String(&d->resp.meta, "audio/wave"); | ||
459 | } | ||
457 | else { | 460 | else { |
458 | setCStr_String(&d->resp.meta, "application/octet-stream"); | 461 | setCStr_String(&d->resp.meta, "application/octet-stream"); |
459 | } | 462 | } |