Code quality:
  - remove trailing space
  - add missing ;
  - replace != by !==
  - do not define variable twice
restore default behavior for transformRequest:
  - passing all params in the same time and not one by one
  - passing all arguments like headerGetter and the transformRequest