Diff of /trunk/Utils.cs
Parent Directory
|
Revision Log
|
Patch
| revision 40, Tue Dec 2 00:27:00 2008 UTC | revision 41, Tue Dec 2 18:00:11 2008 UTC | |
|---|---|---|
| # | Line 194 | Line 194 |
| 194 | switch (extension) | switch (extension) |
| 195 | { | { |
| 196 | case "texture": | case "texture": |
| 197 | case "jp2": | |
| 198 | case "j2c": | |
| 199 | return "image/jp2"; | return "image/jp2"; |
| case "ogg": | ||
| 200 | case "sound": | case "sound": |
| 201 | case "ogg": | |
| 202 | return "application/ogg"; | return "application/ogg"; |
| 203 | case "callingcard": | case "callingcard": |
| 204 | return "application/x-metaverse-callingcard"; | return "application/x-metaverse-callingcard"; |
| # | Line 219 | Line 221 |
| 221 | case "wav": | case "wav": |
| 222 | return "audio/x-wav"; | return "audio/x-wav"; |
| 223 | case "jpg": | case "jpg": |
| 224 | case "jpeg": | |
| 225 | return "image/jpeg"; | return "image/jpeg"; |
| 226 | case "animation": | case "animation": |
| 227 | return "application/x-metaverse-animation"; | return "application/x-metaverse-animation"; |
| # | Line 226 | Line 229 |
| 229 | return "application/x-metaverse-gesture"; | return "application/x-metaverse-gesture"; |
| 230 | case "simstate": | case "simstate": |
| 231 | return "application/x-metaverse-simstate"; | return "application/x-metaverse-simstate"; |
| 232 | case "txt": | |
| 233 | return "text/plain"; | |
| 234 | case "xml": | |
| 235 | return "application/xml"; | |
| 236 | default: | default: |
| 237 | return "application/octet-stream"; | return "application/octet-stream"; |
| 238 | } | } |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |

