Fix EZP-21270: The CSRF token is passed in header in GET request
Fixed. Checking for request method not to be "GET", before passing CSRF token.