Oliver Eichler wrote...

> a few days ago OSM changed their server URL and their policy of
> access. The request a known user-agent string to be transmitted else
> they will forbid access. 

Says who?

The policy that I am aware of is in the OSM wiki[0], and according to
the wiki history that document wasn't changed in months.

If you read a "Valid User-Agent" requirement there, you've stopped
reading way too soon. The full requirement is

| Valid User-Agent identifying application. 

With commit r3770, QLGT made things worse, for the sentence that
follows:

| Faking another app's User-Agent WILL get you blocked.

Before that commit, any QLGT dev could claimed not having been aware
of neither that policy detail nor the fact the QT libraries insert a
"Mozilla/5.0" user agent if the application does not provide one. To
be honest, I wasn't either. The change at the OSM tile servers, about
a week ago, was to block requests with that string[1].

The given commit however can easily be understood as adding insult to
injury, by intentionally claiming to be a "Mozilla" user agent. I am
not a mapnik tile server administrator, but if, I was tempted to add
immediately that string to the block list, too.

As a happy[2] QLandkarteGT user I am afraid this might lead to a silly
war of blocking and another working around it. So please send a user
agent string that is compliant with the mapnik tile server policy. For
my understanding of the HTTP RFC, "QLandkarteGT/"VER_STR should do the
right thing, and that's what I proposed in the Debian BTS[3] yesterday
before realizing how much things went wrong in upstream.

    Christoph
    
PS: *Please* change the message subject when appropriate. I almost
    oversaw that thread in the archives.    

[0] http://wiki.openstreetmap.org/wiki/Tile_usage_policy
[1] 
http://git.openstreetmap.org/chef.git/commitdiff/6da3029671af74f2696bc2544573fae856d8120f
[2] after disabling the phone-home feature
[3] http://bugs.debian.org/736550

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to