Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2001:
[Freeciv-Dev] Re: User-Agent for the Client
Home

[Freeciv-Dev] Re: User-Agent for the Client

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Gaute B Strokkenes <gs234@xxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: User-Agent for the Client
From: Paul Zastoupil <paulz@xxxxxxxxxxxx>
Date: Wed, 15 Aug 2001 16:13:50 -0700

On Thu, Aug 16, 2001 at 02:20:17AM +0200, Gaute B Strokkenes wrote:
> On Wed, 15 Aug 2001, akemnade@xxxxxxxxxxx wrote:
> > Paul Zastoupil writes:
> >  > On Tue, Aug 14, 2001 at 04:05:11PM -0700, Paul Zastoupil wrote:
> >  > > On Tue, Aug 14, 2001 at 03:57:37PM -0700, Paul Zastoupil wrote:
> >  > > > Having a look at all the /metaserver/ requests on the Freeciv
> >  > > > webserver, I thought it would be nice to know where those are
> >  > > > coming from.
> >  > > > 
> >  > > > I propose the following patch:
> >  > > > 
> >  > > 
> >  > > Ugh, portablility strikes again....
> >  > > 
> >  > > Someone please check, I don't really know what I am doing in
> >  > > the second half.
> >  > 
> >  > And according to RFC 1945 it should be Product/version....
> > You have three times the string "User-Agent: Freeciv.."
> > One does not contain the slash. To avoid such typos
> > I suggest to use a my_snprintf to fill a buffer and send it then.
> > I have tested the following patch with and without HAVE_FDOPEN.
> 
> It would be nice to have it add "client" there somewhere too.

I thought about that, but didn't think it that important.  The client will
(almost) only be pulling metaserver information from machines running
a metaserver.  The maintainers of such a machine will surely know the
server doesn't pull information.  Other User-Agents don't include the word
"client", its assumed.

-- 
Paul Zastoupil


[Prev in Thread] Current Thread [Next in Thread]