def getCookie(self, name):
     value = self.request.COOKIES.get(name)
     if value is not None:
         value = QueueitHelpers.urlDecode(value)
     return value
예제 #2
0
 def __generateTargetUrl(original_target_url, http_context_provider):
     if KnownUser.__isQueueAjaxCall(http_context_provider):
         return QueueitHelpers.urlDecode(
             http_context_provider.getHeader(
                 KnownUser.QUEUEIT_AJAX_HEADER_KEY))
     return original_target_url