Skip to content

Commit

Permalink
Make web app manifest file comments more clear
Browse files Browse the repository at this point in the history
Update inline comments regarding the web application manifest file to
point out that it is recommended (not mandatory) that this file should
be serve with the `application/manifest+json` media type.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

From http://w3c.github.io/manifest/:

  " If the protocol over which the manifest is transferred supports
    the [MIME-TYPES] specification (e.g. HTTP), it is RECOMMENDED that
    the manifest be labeled with the media type for a manifest. "

Thanks @marcoscaceres for pointing that out!

Ref: #29 (comment)
  • Loading branch information
alrra committed Jun 5, 2014
1 parent d2d904f commit 1f47252
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,12 @@ Options -MultiViews

# Manifest files

# Web application manifest file
# http://w3c.github.io/manifest/
# If you are providing a web application manifest file (see the
# specification: http://w3c.github.io/manifest/), it is recommended
# that you serve it with the `application/manifest+json` media type.
#
# Because the web application manifest file doesn't have its own unique
# file extension, you can set its media type either by matching:
# Because the web application manifest file doesn't have its own
# unique file extension, you can set its media type either by matching:
#
# 1) the exact location of the file (this can be done using a directive
# such as `<Location>`, but it will NOT work in the `.htaccess` file,
Expand Down

0 comments on commit 1f47252

Please sign in to comment.