Issue #32: working live with WebSockets! Needs to be reviewed.

This commit is contained in:
Henrique Dias
2016-10-30 20:42:56 +00:00
parent 12c76b7a54
commit 44065cfaf9
5 changed files with 190 additions and 66 deletions

View File

@@ -42,7 +42,7 @@ func GetInfo(url *url.URL, c *config.Config, u *config.User) (*Info, int, error)
i.FileInfo, err = os.Stat(i.Path)
if err != nil {
return i, errors.ErrorToHTTPCode(err, true), err
return i, errors.ErrorToHTTPCode(err, false), err
}
return i, 0, nil