I have myController which is extended from AppController.
Inside myController::beforeFilter I put this line:
header('HTTP/1.0 401 Unauthorized', true, 401);
But I can't see this data inside response headers.
I don't have any whitespace inside this class neither in AppController.
Where should I look or how can I debug this issue?
Thank you