Propagate ETag from gitea (#93)

close #15

Co-authored-by: 6543 <6543@obermui.de>
Reviewed-on: https://codeberg.org/Codeberg/pages-server/pulls/93
This commit is contained in:
6543 2022-06-14 18:23:34 +02:00
parent cc32bab31f
commit 4c6164ef05
4 changed files with 20 additions and 8 deletions

View file

@ -25,6 +25,7 @@ type Client struct {
type FileResponse struct {
Exists bool
ETag []byte
MimeType string
Body []byte
}