Fixed warning in some case when using console.log

Refs #194
Headers and redirectURL were missing in resources about redirection

Closes #153 #144