From b7b77b62d3dbbf20cf13c63e34955ba9c3b21e54 Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Wed, 18 Jan 2017 13:56:55 +0200 Subject: [PATCH] Update DONATIONS.md --- DONATIONS.md | 5 +++-- context.go | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/DONATIONS.md b/DONATIONS.md index 8af3de23..dac6cccc 100644 --- a/DONATIONS.md +++ b/DONATIONS.md @@ -52,6 +52,8 @@ I'm grateful for all the generous donations. Iris is fully funded by these dona - [Thomas Fritz](https://github.com/thomasfr) donated 25 EUR at Jenuary 8 of 2017 +- [Thanos V.](http://mykonosbiennale.com/) donated 20 EUR at Jenuary 16 of 2017 + > * The name or/and github username link added after donator's approvement via e-mail. #### Report, so far @@ -60,5 +62,4 @@ I'm grateful for all the generous donations. Iris is fully funded by these dona - **Thanks** to all of **You**, 424 EUR donated to [Holy Metropolis of Ioannina](http://www.imioanninon.gr/main/) for clothes, foods and medications for our fellow human beings. -**Available**: VAT(50) + VAT(20) + VAT(20) + VAT(50) + VAT(6) + VAT(20) + VAT(100) + VAT(20) + VAT(20) + VAT(50) + VAT(30) + VAT(50) + VAT(20) + VAT(5) + VAT(25) - 13 = 47,45 + 18,97 + 18,61 + 47,05 + 5,34 + 18,97 + 98,04 + 18,97 + 18,61 + 47,95 + 28,24 + 47,05 + 18,97 + 4,59 + 23,80 - 13 - 424 = -424,92 - 424 = **24,72 EUR** +**Available**: VAT(50) + VAT(20) + VAT(20) + VAT(50) + VAT(6) + VAT(20) + VAT(100) + VAT(20) + VAT(20) + VAT(50) + VAT(30) + VAT(50) + VAT(20) + VAT(5) + VAT(25) + VAT(20) - 13 - 424 = 47,45 + 18,97 + 18,61 + 47,05 + 5,34 + 18,97 + 98,04 + 18,97 + 18,61 + 47,95 + 28,24 + 47,05 + 18,97 + 4,59 + 23,80 + 18,77 - 13 - 424 = **43,49 EUR** diff --git a/context.go b/context.go index cc1c678d..061ca402 100644 --- a/context.go +++ b/context.go @@ -953,8 +953,8 @@ func (ctx *Context) ServeFile(filename string, gzipCompression bool) error { // // Use this instead of ServeFile to 'force-download' bigger files to the client func (ctx *Context) SendFile(filename string, destinationName string) { - ctx.ServeFile(filename, false) ctx.ResponseWriter.Header().Set(contentDisposition, "attachment;filename="+destinationName) + ctx.ServeFile(filename, false) } // StreamWriter registers the given stream writer for populating