Clarified the readme

This commit is contained in:
tastytea 2018-11-26 05:35:00 +01:00
parent df50807eeb
commit 8f68fc5f9e
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 3 additions and 6 deletions

View File

@ -12,14 +12,11 @@ images tied to email or OpenID addresses.
* MD5 hashes
* SHA256 hashes
* Variable image size (`s` or `size`)
* Default actions (`d` or `default`): 404, URL
The default behaviour for unknown users is to return a 404 error. If a default
image is put in the avatar directory, that is returned instead. This can not be
overriden by adding the parameter `d` or `default` to the URL.
The following values for the `d` or `default` parameter are supported:
* 404
* URL (A redirect is returned (307 Temporary Redirect))
image is put in the avatar directory, that is returned instead. The default
image can not be overriden by adding the parameter `d` or `default` to the URL.
Clients are asked to cache results for up to 1 day to reduce load. This can
apply to negative results as well.