Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bHpOf-0008EU-8o for pgadmin-hackers@arkaria.postgresql.org; Tue, 28 Jun 2016 09:33:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bHpOe-00039f-NT for pgadmin-hackers@arkaria.postgresql.org; Tue, 28 Jun 2016 09:33:32 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bHpOR-0002vl-Ko for pgadmin-hackers@postgresql.org; Tue, 28 Jun 2016 09:33:19 +0000 Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bHpOO-0007RD-9o for pgadmin-hackers@postgresql.org; Tue, 28 Jun 2016 09:33:18 +0000 Received: by mail-pa0-x22b.google.com with SMTP id b13so4940678pat.0 for ; Tue, 28 Jun 2016 02:33:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QwJSg51+V5YOT9bqymVrduMYE5jRxIuoUs/3awHweLs=; b=BrFuadr89Gh9obHUtowm5b9egA0kQ/YNKASD2XgPPBtXwIC8t4KWKqobnpB91zOFlV lfikOK8jSJsiJ4ot8U1AQh8R8LaqZKy2b9k3W7VJkOHW+h+XaSYgxkIPZ6lnEyT9YSCK hu79Ya7xBYneObj5qz9Jo/fqoMyrJwZ8E8dqANBx+Nhe74pl2a6C5b1bCotCQSI+7SGd bMBx1XD923UnaFaZd9LRlWFekOC8i/tpiNr5SysdqRxUISRkkrud+cKkXdua+EdusMFZ gLXjWe81SGFxQowbpM6qnaherthOUR6GfkJeytMd+EQIeuIJ9BPlsusTVo8jA3BoGbvI ikYg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=QwJSg51+V5YOT9bqymVrduMYE5jRxIuoUs/3awHweLs=; b=mdiz7iU7hhCMtPUgrOnpahIzfXL2OSzKFwOYUR/rVHKZldVUzvStzvg8+TYo7z1XJW WlbNqwtVB1ofkxLkX8ZsWN6B6RT8DuwxYfiBGbA2ixlXlzLtZ7vTDjpCySQpmFzciWLo cFV5tzs0RWOd7KOKZAoTYCz7DPcsP+aERrSjRE2uev7O45roi5FwsTlNqOTrhDA7mh2+ EdswRVZote+Q813oNcIrwjuYcZAphdJWT9Gmm2WdKWYK9QEM309p60KObPps1AOfKR14 llKz6zSQyl+ZYQhuLCRcN3yZq05JyKVDRsW6ELAq5uH4rfysH1vTdUDLCgWCTIBsWJjl mMJw== X-Gm-Message-State: ALyK8tKMxXDH8+lpe+h6aPskKtH+41ni24OuojG38zwECAqtQwmup4KM6a+YRvSnYupsEjPk X-Received: by 10.66.78.226 with SMTP id e2mr149097pax.37.1467106395112; Tue, 28 Jun 2016 02:33:15 -0700 (PDT) Received: from [172.24.35.232] ([59.162.78.200]) by smtp.gmail.com with ESMTPSA id 6sm5699804pfx.68.2016.06.28.02.33.13 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Jun 2016 02:33:14 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Subject: Re: PATCH: Fix the issue for saving query output as CSV From: Murtuza Zabuawala In-Reply-To: Date: Tue, 28 Jun 2016 15:03:10 +0530 Cc: pgadmin-hackers Content-Transfer-Encoding: quoted-printable Message-Id: <70470862-26C1-4281-838E-F2C755E5C645@enterprisedb.com> References: To: Dave Page X-Mailer: Apple Mail (2.2104) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org Yes Dave, I agree that downloading files has been supported in browsers sin= ce long . But in general we send request & then receives files from web server but in= our case we are fetching our data from Backbone models & then converting i= t to CSV format for downloading as a file at client side in browser itself. > On 28-Jun-2016, at 2:44 pm, Dave Page wrote: >=20 > On Tue, Jun 28, 2016 at 7:08 AM, Murtuza Zabuawala > wrote: >> Hi Dave, >>=20 >> Yes, Safari is exception case because it does not support download attri= bute of hyperlink element. >>=20 >> Ref: http://caniuse.com/#feat=3Ddownload >>=20 >> I was not able to find any workaround for Safari as of now that=E2=80=99= s is why I mentioned only Firefox & IE in my last email, >> Earlier it was only working on Chrome and with this patch it will work w= ith Chrome/Firefox/IE. >=20 > Well downloading files has been supported in browsers since NCSA > Mosaic, so it's nothing new :-). We need to fix this, one way or > another. >=20 > --=20 > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake >=20 > EnterpriseDB UK: http://www.enterprisedb.com > The Enterprise PostgreSQL Company --=20 Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers