[android] How to set custom header in Volley Request

As addition I'd like to share something I found regarding the Content-Type: On top of

@Override
public Map<String, String> getHeaders() throws AuthFailureError {
Map<String, String> params = new HashMap<String, String>();
.
.
.
return params;
}

I had to add:

@Override
public String getBodyContentType() {
return /*(for exmaple)*/ "application/json";
}

Don't ask me why, I just thought it might help some others that can't get the Content-Type set right.