Method to get all headers for the error response
Method to get all headers for the error response

Method added to get all required headers for the error response, according to the RFC - the correct HTTP status code and the "WWW-Authenticate" header in special cases.

mijndomein/deprecated-league-oauth2-server,fabik/oauth2-server,jahanzaibbahadur/oauth2-server,thephpleague/oauth2-server,lookyman/oauth2-server,cesutherland/oauth2-server,mromarreyes/oauth2-server,steveathon/oauth2-server,ionux/oauth2-server,Symplicity/oauth2-server,0x0all/oauth2-server,marcaube/oauth2-server,michaelhogg/oauth2-server,juliangut/oauth2-server,jorycn/oauth2-server,nordsoftware/oauth2-server,benito103e/oauth2-server,gencer/oauth2-server,starJammer/oauth2-server,neconest/oauth2-server,josegonzalez/oauth2-server,marcteyssier/oauth2-server-1