From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 8B3C37A96C for ; Tue, 7 Apr 2015 10:45:02 -0700 (PDT) Received: by wgsk9 with SMTP id k9so41298876wgs.3 for ; Tue, 07 Apr 2015 10:43:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=dE3xKbjaTspN4vyA7twsrY66F5dTFw5ueTQxIJEgyrA=; b=M9gI0z/gV8fbnILiiCokjV9BKhZNDSw4tCuMk6i+FQ0HJ+3OAZP7i/B0spdrJbpU92 Mgj8y16V2HLJX1vCz8HCAXb8hJCvtJ6dPWwUQWikXtHGdlUyUFoRk9ZVZzJZbSwsTTVh JkldgIiSDN8uRwOriNoyjyF30npN/LqqFirDW61OtorraIP6t+TLfx6GdKXnXrZZoroE tEsNOpgLJXrAAItRKcN3pquT2qeRbCpaT1pQKUiEoYQ+5UFJSf23HlmZx6bO1dmQIAT3 KJtoteyK0wzxgGrr9DdlNgtj+T7KsBFHr+1II1rCr6SC2b415ndd+L6Rni996xp023RH 3OXQ== X-Received: by 10.194.60.43 with SMTP id e11mr32825962wjr.36.1428428605626; Tue, 07 Apr 2015 10:43:25 -0700 (PDT) Received: from toaster.adamthompson.me.uk (toaster.adamthompson.me.uk. [2001:8b0:1142:9042::2]) by mx.google.com with ESMTPSA id 14sm11014230wjv.0.2015.04.07.10.43.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Apr 2015 10:43:24 -0700 (PDT) Date: Tue, 7 Apr 2015 18:43:11 +0100 From: Adam Thompson To: Karl Dahlke Message-ID: <20150407174207.GA21727@toaster.adamthompson.me.uk> References: <20150228071807.eklhad@comcast.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qbvjkv9qwOGw/5Fx" Content-Disposition: inline In-Reply-To: <20150228071807.eklhad@comcast.net> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Edbrowse-dev@lists.the-brannons.com Subject: Re: [Edbrowse-dev] pdf auto download X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Apr 2015 17:45:03 -0000 --Qbvjkv9qwOGw/5Fx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 28, 2015 at 07:18:07AM -0400, Karl Dahlke wrote: > Chuck asks: > > how would a user be able to retrieve and save the original pdf? >=20 > You can save the original of any file you access on the web, > be it pdf or html or whatever, by typing ub to unbrowse the file, > thus reproducing the original, then w to write. > Or w/ to write to the internet filename, if that is the filename you want. > You wouldn't lose any capabilities; probably this is how you did it > in edbrowse 3.5.2 and earlier. This makes me wonder whether we should make the content type handling (as i= n the mime type reported by the http header, not based on suffix) configurable rather than hard-coding defaults and then using the download prompt for the rest? I know we have the mime mechanism at the moment, but it needs a suffix (as far as I know), and it'd be nice to not rely on t= hat, particularly for websites which don't use standard suffixes (i.e. some php scripts I've seen generate pdf output but have the .php suffix in = the URL). If we changed the mechanism to be based on http headers rather than suffix, then we could also add a download or view option so that you could configure pdfs to download rather than view if you wanted= to. Cheers, Adam. --Qbvjkv9qwOGw/5Fx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVJBcvAAoJELZ22lNQBzHOHM0IAKHa0JkQLSbEHU6p782f6OKk /szT1nHZtCtG8sT/7NbuxB4+W8oDkM19tcl1G4bqUmIxZ+e9DQlc6XyCLUDlgt71 /o4yHRfskM/v4PNAFGzIsE1QbO5oGXYK26QdSacKUMFLVGeuPS6sQdr13lrdcrCl KNlGHR7cg0ZFXAlt8vsmMCLll7WhbDpQ5Az39M7HPMhR5WqGAxTza2KrhRYRCg9E /7E4u4pFlKsblkPkhherEashEZN4McOFA4P73cXOJabNY03mEP7Nw5ghSiwCR7UK e1Zxo0WMhz0J1r/4gIUv5H/DCZQ0Eob1hh5qw3+yZBIQHcT8z2CiE5M1msQ/3G8= =z6ak -----END PGP SIGNATURE----- --Qbvjkv9qwOGw/5Fx--