Refactoring of Accept format

This pull request is subsequent to "Refactoring Auth Url"