Пример #1
0
 def render(self, request):
     self.uri = self.follow_redirect(self.uri)
     self.resetUri(self.uri)
     return ReverseProxyUriResource.render(self, request)
Пример #2
0
 def render(self, request):
     if 'referer' in request.received_headers:
         del request.received_headers['referer']
     return ReverseProxyUriResource.render(self, request)
Пример #3
0
 def render(self, request):
     del request.received_headers["referer"]
     return ReverseProxyUriResource.render(self, request)
Пример #4
0
 def render(self, request):
     request.received_headers['user-agent'] = 'QuickTime/7.6.2 (qtver=7.6.2;os=Windows NT 5.1Service Pack 3)'
     return ReverseProxyUriResource.render(self, request)
Пример #5
0
 def render(self, request):
     request.received_headers[
         'user-agent'] = 'QuickTime/7.6.2 (qtver=7.6.2;os=Windows NT 5.1Service Pack 3)'
     return ReverseProxyUriResource.render(self, request)
Пример #6
0
 def render(self, request):
     if request.received_headers.has_key('referer'):
         del request.received_headers['referer']
     return ReverseProxyUriResource.render(self, request)
Пример #7
0
 def render(self, request):
     if request.received_headers.has_key('referer'):
         del request.received_headers['referer']
     return ReverseProxyUriResource.render(self, request)
Пример #8
0
 def render(self, request):
     self.debug("render %r", self.parent.item_data)
     self.parent.container.on_item_play(self.parent)
     self.parent.store.last_played_item = self
     reactor.callLater(self.parent.duration_seconds / 2, self.log_playing)
     return ReverseProxyUriResource.render(self, request)