set content-disposition on sync.getBlob (#12)
charlotte ✨ 6 months ago aa02fb9d dec202b8
··· 44 44 buf.Write(p.Data) 45 45 } 46 46 47 47 + e.Response().Header().Set(echo.HeaderContentDisposition, "attachment; filename=" + c.String()) 48 48 + 47 49 return e.Stream(200, "application/octet-stream", buf) 48 50 }