Jaguar-dart / jaguar

Jaguar, a server framework built for speed, simplicity and extensible. ORM, Session, Authentication & Authorization, OAuth
http://jaguar-dart.github.io
463 stars 34 forks source link

Added mime type for xhtml #141

Closed PiN73 closed 3 years ago

PiN73 commented 3 years ago

When serving static files, .xhtml files were treated as plain text.

I added a constant for xhtml to MimeTypes class so now .xhtml files are automatically served with application/xhtml+xml MIME-type