Patent ID: 7689564

Claim:
A computer readable storage medium having computer-executable instructions which, when executed by a computer, perform steps comprising: receiving at a computer system a request that specifies a resource name extension and a content type respectively from a plurality of resource name extensions and a plurality of content types, wherein: in an event the specified resource name extension of the plurality of resource name extensions is associated with more than the specified content type of the plurality of content types, creating a new multi-purpose internet mail extension (MIME) map for a URL's complete namespace containing only a mapping for a URL extension to the specified content type, wherein the new MIME map for the URL's complete namespace containing only the mapping for the URL extension to the specified content type ensures that only the existing specified resource is scoped by the new MIME map; and in an event the specified resource name extension of the plurality of resource name extensions is not associated with any content type of the plurality of content types in a particular MIME map, determining whether an association exists between the specified extension and any existing content type in any scoping MIME map, and when no association exists between the specified resource name extension and any existing content type in any scoping MIME map, creating a new entry for the particular MIME map for the specified resource name extension and the specified content type; ascertaining whether current mapping scenarios that map resource name extensions to content types are adequate to map the specified resource name extension to the specified content type, wherein the ascertaining comprises determining whether an existing map specifies a different content type than the content type that is specified for the specified resource name extension in a Web Distributed Authoring and Versioning (WebDAV) request; in an event there is no MIME map mapping the specified resource name extension of the plurality of resource name extensions associated with the specified content type of the plurality of content types, creating a new mapping scenario that maps the specified resource name extension to the specified content type if the current mapping scenarios are not sufficient to map the specified name extension to the specified content type, wherein creating a new mapping scenario comprises setting a content-type property for a resource that is associated with the specified resource name extension; and the computer system storing the new mapping scenario in a computer-readable storage medium.