Skip to content

Commit

Permalink
v1.51: add audio/wav to media formats checked
Browse files Browse the repository at this point in the history
  • Loading branch information
James Aimonetti committed Apr 2, 2012
1 parent a703c31 commit 13a4717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whistle_apps/apps/media_mgr/src/media_single.erl
Expand Up @@ -37,7 +37,7 @@ handle(Req0, {Meta, Bin}) ->
Url = wh_json:get_value(<<"url">>, Meta, <<>>),

{ok, Req2} = case ContentType of
<<"audio/x-wav">> ->
CT when CT =:= <<"audio/x-wav">> orelse CT =:= <<"audio/wav">> ->
{ok, Req1} = set_resp_headers(Req0, ContentType),

cowboy_http_req:set_resp_body_fun(Size
Expand Down

0 comments on commit 13a4717

Please sign in to comment.