Re: [Rd] [R] HTTP User-Agent header

From: Seth Falcon <sfalcon_at_fhcrc.org>
Date: Fri 28 Jul 2006 - 19:55:26 GMT

Prof Brian Ripley <ripley@stats.ox.ac.uk> writes:
> I also thought that there was no need for this level of complexity.
> (BTW, some of the patch is changes Seth has made for other purposes, e.g.
> that to memory.c, so please no one apply all of it.)

*blush* sorry about that. I made the final diff from a src tree on another machine and it was dirty. memory.c should NOT have been touched by my patch.

> I'd be happy for R to just identify itself as 'R', which seems allowed:
> (http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). But I am a bit
> concerned that sites may not just require the field but also require a
> particular format (even though W3C does not).

As long as it is going to identify itself, I think there is value in having it provide version, platform, OS info.

Given the concern that some sites that currently work may stop working (example?), perhaps making this a global option is a good compromise. The option could be httpRequestHeader and the default value would be as proposed in my patch. A NULL value would result in the current behavior, no extra header info in the request.



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sat Jul 29 05:57:40 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 28 Jul 2006 - 22:27:45 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.