On 29 January 2012 21:09, <info@gno.de> wrote:
...but the idea is you could read any web page via wikipedia.site.getUrl(path, no_hostname = True)

no_hostname must be assigned to True for doing this.

Hm, it seems I have misread the code. Indeed, cookies are not written of no_hostname=True.

However, my point remains: this is not something Site.getUrl /should/ do, as it is not related to the Site object /at all/. As far as I am concerned, this parameter should be *removed* rather than *encouraged* - general http functions should be in a *general* module, /not/ in the site object.

Of course, this refactoring has already been done correctly in the rewrite...

Best,
Merlijn