forked from hailey.at/cocoon
An atproto PDS written in Go

set content-disposition on sync.getBlob (#12)

authored by charlotte ✨ and committed by GitHub aa02fb9d dec202b8

Changed files
+2
server
+2
server/handle_sync_get_blob.go
··· 44 44 buf.Write(p.Data) 45 45 } 46 46 47 + e.Response().Header().Set(echo.HeaderContentDisposition, "attachment; filename=" + c.String()) 48 + 47 49 return e.Stream(200, "application/octet-stream", buf) 48 50 }