2012-10-04 2 views

답변

2

첫 번째 URL은

Content-Type: audio/ogg 

두 번째

Content-Type: application/octet-stream 

다른 웹 서버 설정

를 반환합니다.

+0

어디에서 등록해야합니까? – Luntegg

+0

웹 서버에 따라 다릅니다. –

+0

알다시피, 그것은 nginx입니다. 아마도 /etc/nginx/mime.types 또는 유사합니다. –

0

그 중 하나만이 ogg 파일입니다. 다른 하나는 이진 데이터 블롭입니다.

(적어도 서버가 브라우저에 알려주는 것입니다.)

서버를 올바르게 구성해야합니다.

[email protected]:~ # curl -I http://devluntegg.fishok.getmyip.com:39875/webim/sounds/new_user.ogg | grep Content 
    % Total % Received % Xferd Average Speed Time Time  Time Current 
           Dload Upload Total Spent Left Speed 
    0 13889 0  0 0  0  0  0 --:--:-- --:--:-- --:--:--  0 
Content-Length: 13889 
Content-Type: audio/ogg 

[email protected]:~ # curl -I http://lovisnami.ru/webim/sounds/new_user.ogg | grep Content % Total % Received % Xferd Average Speed Time Time  Time Current 
           Dload Upload Total Spent Left Speed 
    0 13889 0  0 0  0  0  0 --:--:-- --:--:-- --:--:--  0 
Content-Type: application/octet-stream 
Content-Length: 13889 
관련 문제