set request format only when given
fixed coding style
Merge pull request #243 from sulu-cmf/bugfix/set-request-format

[BUGFIX] set request format only when given