make requests compatible with SAE
take @Anorov  suggest
Merge pull request #300 from tg123/master

make requests compatible with SAE.