change docs for mime-type (#36693)

* change stat.py docs for mime-type

* corrects stat.py RETURN documentation for mimetype
This commit is contained in:
rgustomi 2018-08-29 21:49:39 +02:00 committed by Alicia Cozine
parent 822dbe3016
commit 305ae5442a

View file

@ -322,13 +322,13 @@ stat:
returned: success, path exists and user can read stats and installed python supports it
type: string
sample: www-data
mime_type:
mimetype:
description: file magic data or mime-type
returned: success, path exists and user can read stats and
installed python supports it and the `mime` option was true, will
return 'unknown' on error.
type: string
sample: PDF document, version 1.2
sample: application/pdf; charset=binary
charset:
description: file character set or encoding
returned: success, path exists and user can read stats and