public void setHeader(@NonNull String name, @Nullable String value) {
        if (value == null) {
            headers.remove(name);
        } else {
            headers.put(name, value);
        }
    }
public void setHeader(@NonNull String name, @Nullable String value) {
        if (value == null) {
            headers.remove(name);
        } else {
            headers.put(name, value);
        }
    }
public void setHeader ( @ NonNull String name , @ Nullable String value ) { if ( value == null ) { headers . remove ( name ) ; } else { headers . put ( name , value ) ; } }
Set an HTTP header that will be sent with every request.

@param name  Header name.
@param value Value for the header. If null, the header will be removed.
Set an HTTP header that will be sent with every request .