-
class Application < Rango::Controller
format(:json) do |object|
object.to_json
end
end
class Post < Application
def show(id)
if format.html?
render "post.html", post: post
el…
-
Use mime-types configuration file to store file types and their conent-type information. This should be used in the controller.file method to determine where to look for the static asset.
-
Add support according to the specification: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
Check out the JAX-RS way of doing it: https://docs.jboss.org/resteasy/docs/1.0.2.GA/userguide/html/J…
-
Mime types missing from the enum:
* `application/xml`
* `text/rtf`
* `text/tcf+xml` (CLARIN)
... and of course I cannot generate mime-type info in the descriptors for all the DKPro Core `x.` t…
-
Improve attachment validation to include mime types
-
it might be inferred that it is application-jose, but i think it would be better to call it out
-
I'm using aws publish + the router to upload some assets. Is there any way to override the default mime types from the `mime` package here?
-
This extension should automatically handle the following mimes:
`text/markdown`
`text/x-markdown`
Currently in Firefox 102, it prompts the file picker on these mimes, while it should just open in t…
-
As seen on Fennec, some boxes just don't have mimetypes registered see:
https://github.com/pocmo/Fennec-DLC-Catalog/commit/b6abf51514f3d0a330166b2a4482a821cc86858c
we should deal with this in kinto-…
-
I have the following use case which I need to solve:
I would like to open a gpx file. seems easy, but the following is what needs to be added to the manifest:
```xml
…