[zorp] OWA request method additions WAS: missing constants and methods in pssl.py
David Yerger
dyerger at stcservices.com
Wed Feb 20 17:55:28 CET 2008
One more thing: looks like the OWA with IE7 as the client, as well as
Windows Mobile Direct Push use more request methods than HttpProxy
allows by default, so adding what they want I now have
class OWAHttpProxy(HttpWebdavProxy):
def config(self):
#IE7 uses PROPFIND, might as well use the WebDAV proxy
HttpWebdavProxy.config(self)
#Direct Push wants this
self.request["OPTIONS"] = (HTTP_REQ_ACCEPT,)
#IE7 OWA wants these
self.request["SUBSCRIBE"] = (HTTP_REQ_ACCEPT,)
self.request["SEARCH"] = (HTTP_REQ_ACCEPT,)
self.request["POLL"] = (HTTP_REQ_ACCEPT,)
self.request["BPROPPATCH"] = (HTTP_REQ_ACCEPT,)
self.request_header["Front-End-Https"]=(HTTP_HDR_INSERT,
"on")
Works great!
Thanks again for your help
David Yerger
More information about the zorp
mailing list