Correct API's mode validation on redirections
Correct API's mode validation on redirections

Change CoreAPI to assume that the redirections are valid, otherwise if
none is followed it would return as invalid, always.

Fix #3673 - API: sendHarRequest results in error if redirects are true

Ali-Razmjoo/zaproxy,gmaran23/zaproxy,gmaran23/zaproxy,zapbot/zaproxy,gsavastano/zaproxy,zaproxy/zaproxy,zapbot/zaproxy,psiinon/zaproxy,psiinon/zaproxy,psiinon/zaproxy,thc202/zaproxy,gmaran23/zaproxy,zaproxy/zaproxy,zaproxy/zaproxy,Ali-Razmjoo/zaproxy,gsavastano/zaproxy,thc202/zaproxy,meitar/zaproxy,gsavastano/zaproxy,gmaran23/zaproxy,thc202/zaproxy,gsavastano/zaproxy,thc202/zaproxy,psiinon/zaproxy,kingthorin/zaproxy,zapbot/zaproxy,thc202/zaproxy,Ali-Razmjoo/zaproxy,gsavastano/zaproxy,gmaran23/zaproxy,zapbot/zaproxy,meitar/zaproxy,gmaran23/zaproxy,zapbot/zaproxy,zaproxy/zaproxy,zaproxy/zaproxy,kingthorin/zaproxy,meitar/zaproxy,zaproxy/zaproxy,psiinon/zaproxy,kingthorin/zaproxy,thc202/zaproxy,psiinon/zaproxy,zaproxy/zaproxy,psiinon/zaproxy,thc202/zaproxy,gsavastano/zaproxy,Ali-Razmjoo/zaproxy,kingthorin/zaproxy,zapbot/zaproxy,meitar/zaproxy,Ali-Razmjoo/zaproxy,zapbot/zaproxy,kingthorin/zaproxy,kingthorin/zaproxy,gmaran23/zaproxy,meitar/zaproxy,meitar/zaproxy,Ali-Razmjoo/zaproxy,meitar/zaproxy,gsavastano/zaproxy,Ali-Razmjoo/zaproxy,meitar/zaproxy,kingthorin/zaproxy