1
mirror of https://gitlab.com/commento/commento.git synced 2025-06-29 22:56:37 -04:00

api: allow gzipped response

This commit is contained in:
Adhityaa
2018-06-11 15:01:58 +05:30
parent 9e682a964a
commit 78384073b0
4 changed files with 46 additions and 6 deletions

View File

@ -37,3 +37,4 @@ var errorSessionAlreadyInUse = errors.New("Session is already in use.")
var errorCannotReadResponse = errors.New("Cannot read response.")
var errorNotModerator = errors.New("You need to be a moderator to do that.")
var errorNotADirectory = errors.New("The given path is not a directory.")
var errorGzip = errors.New("Cannot GZip content.")