def get_context_path(self, request: HttpServletRequest) -> str:
     contextPath: str = request.get_attribute(
         WebUtils.INCLUDE_SERVLET_PATH_ATTRIBUTE)
     if not contextPath:
         contextPath = request.get_context_path()
     if contextPath == "/":
         contextPath = ""
     return self.decode_request_string(request, contextPath)
 def get_request_uri(self, request: HttpServletRequest) -> str:
     uri: str = request.get_attribute(
         WebUtils.INCLUDE_REQUEST_URI_ATTRIBUTE)
     if not uri:
         uri = request.get_request_uri()
     return self.decode_and_clean_uri_string(request, uri)