For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

david78's avatar
david78
Icon for Nimbostratus rankNimbostratus
Sep 12, 2012

Missing Header in cache response

Hello,

 

 

i need log the content-lengt but when the response is from cache there is empty

 

I use these code :

 

When CACHE_RESPONSE {

 

set cache_contentlength [CACHE::header "Content-Length"]

 

}

 

 

the variable is empty :(

 

If i use [CACHE::headers] i can see all headers and "Content-Length: 1118"

 

Someone can help me ?

 

thx

 

2 Replies

  • hoolio's avatar
    hoolio
    Icon for Cirrostratus rankCirrostratus
    Hi David,

     

     

    If you see it in CACHE::headers output but not in CACHE::header content-length, it seems like a bug. Can you open a case with F5 Support to get help troubleshooting this? If you do can you reply back with what you determine?

     

     

    Thanks, Aaron
  • Hi,

     

    ok,this is what I thought.

     

    i will open a case.

     

    Thanks,