Monotone-Parent: 63a3a1d33a35a9e581b4b29984291e59a03184af
Monotone-Revision: fa7d871f17a70530eb91cb1db11d03a8fa643108 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-08-27T16:25:55 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
7c335df243
commit
4803ab33b9
|
@ -29,6 +29,8 @@ class WebDAVClient:
|
||||||
headers["depth"] = query.depth
|
headers["depth"] = query.depth
|
||||||
if query.__dict__.has_key("content_type"):
|
if query.__dict__.has_key("content_type"):
|
||||||
headers["content-type"] = query.content_type
|
headers["content-type"] = query.content_type
|
||||||
|
if not query.__dict__.has_key("accept-language"):
|
||||||
|
headers["accept-language"] = 'en-us,en;q=0.5'
|
||||||
|
|
||||||
query_headers = query.prepare_headers()
|
query_headers = query.prepare_headers()
|
||||||
if query_headers is not None:
|
if query_headers is not None:
|
||||||
|
|
Loading…
Reference in New Issue