added Accept header for defaultMediaType when creating requests