change docs for mime-type (#36693)

* change stat.py docs for mime-type

* corrects stat.py RETURN documentation for mimetype
pull/44701/head
rgustomi 6 years ago committed by Alicia Cozine
parent 822dbe3016
commit 305ae5442a

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

Loading…
Cancel
Save