code: private void sendRedirectWithStatusCode(String location, int statusCode) throws IOException
      //PQ97429	
      {
          HttpServletResponse response = (HttpServletResponse) getResponse();
          if (!response.isCommitted())
          {
              // begin 133968: part 1
              if (location == null)
              {
                  throw new IllegalArgumentException("Location cannot be null in javax.servlet.http.HttpServletResponse.sendRedirect(location)");
              }
              // end 133968: part 1
  
              // d128646 - we might not have a writer to flush at this point...make sure we do
              // PQ77141 overrides the above defect
  //		try
  //		{
  //			response.getWriter();
  //		}
  //		catch (Throwable th)
  //		{
  //		}
  
              response.resetBuffer();
  
              location = convertRelativeURIToURL(location);
  
              // 115010 - begin - make header name begin with upper case
              response.setHeader("Location", location);
              // 115010 - end
              // PQ97429
              // response.setStatus(HttpServletResponse.SC_MOVED_TEMPORARILY);
              response.setStatus(statusCode);
              // PQ97429	    
  
              //response.flushBuffer();  PK79143
  
          }
          else
          {
              throw new IllegalStateException();
          }
      }
docs: public void sendRedirect(String location) throws IOException