DAV Maintenance
VS-D-6 Content Types and Names
Mapping between resource content types, and name extensions
Preliminaries
- The user-agents (browsers) may supply the content-type for an uploaded resource.
- A resource in the WebDAV repository can have a supplied content-type associated to the resource.
- If the content type is not supplied, the WebDAV server does a mapping from file extension to mime type.
- Mapping table is held in WS.WS.SYS_DAV_RES_TYPES and used by http_mime_type() function.
- Using Conductor UI can be defined additional MIME type: Go to the "Web Application Server" tab, then go to the "Content Management" tab and then go to the "Resource Types" sub-tab. Here press the "Create New Type" button.
Mime lookup example
The example requests a file, then the name of the file will be matched against the mime types table. The resulting mime type is displayed.
| View the source | Action |
|---|---|
| 1. vs_d_6_sample_1.vsp | Run |
OpenLink Home
Technical Support