Forum Discussion

Brian_Gupta_115's avatar
Brian_Gupta_115
Icon for Nimbostratus rankNimbostratus
Sep 19, 2005

HTTP::is_redirect

From article: http://devcentral.f5.com/Default.aspx?tabid=29&articleType=ArticleView&articleId=32

 

 

HTTP::is_redirect Returns a true value if the response is a certain type of redirect.

 

 

What is meant by "certain type of redirect"?

 

 

Also, Is it correct to assume that you check for this during the HTTP_RESPONSE event?

 

 

Thanks,

 

Brian
  • bl0ndie_127134's avatar
    bl0ndie_127134
    Historic F5 Account
    It returns TRUE for 302, 301, 303, 305, 307. Its just syntactic sugar that keeps the TCL code a bit cleaner.

     

     

    Yes, redirects are response status codes that are only valid during server replies. I think the TCL checker might enforce this.