I'm looking for a hook that is fired before the Ajax content is returned.
The reason is that I want to extend the cookies with the Secure attribute I need. Unfortunately is the plugin (woocommerce) not doing this by default so I need to add this manually.