Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Specify a mimetype when using an unsupported format #113

Closed
dmcassel opened this issue Jun 26, 2013 · 1 comment
Closed

Specify a mimetype when using an unsupported format #113

dmcassel opened this issue Jun 26, 2013 · 1 comment
Assignees

Comments

@dmcassel
Copy link
Collaborator

In MVC/hybrid apps, xdmp:set-response-content-type() is called by the framework, using a mime type based on the format. For (html|xml|json|text), the mime type is set correctly. For other formats, the format itself is used as the mime type.

Modify this process so that a developer can add a format-mimetype mapping as part of the application's configuration.

Feature requested by a user.

@dmcassel
Copy link
Collaborator Author

Documented on the Roxy options wiki.

dmcassel added a commit that referenced this issue Jun 26, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant