User-Agent issue has been fixed.

    1. removed media type from get() method argument
    2. Added separate method for adding media type.
    3. Added user-agent.