From jeroenooms at gmail.com  Thu Nov 13 05:58:17 2014
From: jeroenooms at gmail.com (Jeroen Ooms)
Date: Wed, 12 Nov 2014 20:58:17 -0800
Subject: [Rd] Non-webby links on Windows web page
In-Reply-To: <F1F13E14A610474196571953929C020963D23B@ex08.net.ucsf.edu>
References: <F1F13E14A610474196571953929C020963D23B@ex08.net.ucsf.edu>
Message-ID: <CABFfbXsJj-nTH-a1d35Zi=njpqgaEveuQwT4J4wg2ExLAuhZnw@mail.gmail.com>

This caused by the Berkeley web server setting strange content-types.
It is probably more suitable to report this to the Berkeley mirror
admin or cran maintainers.

> library(httr)
> GET("http://cran.cnr.berkeley.edu/bin/windows/base/README.R-3.1.2")$headers["content-type"]
$`content-type`
[1] "application/x-troff-man"

> GET("http://cran.r-project.org/bin/windows/base/README.R-3.1.2")$headers["content-type"]
$`content-type`
[1] "text/plain"




On Wed, Nov 12, 2014 at 7:05 PM, Boylan, Ross <Ross.Boylan at ucsf.edu> wrote:
> On the Windows download page the second link is "Installation and other instructions" http://cran.cnr.berkeley.edu/bin/windows/base/README.R-3.1.2.  Clicking on this gets me a "download or open as" dialogue rather than a page of text.
>
> I think something like this happened a few years ago, and the problem was the MIME type of the link.
>
> It would be nice to fix.
>
> Thanks.
> Ross Boylan
>
> P.S. I was using http://cran.cnr.berkeley.edu/ and FF 33.1 on Win 7.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



[Rd] Non-webby links on Windows web page
Jeroen Ooms