Github user therajanmaurya commented on a diff in the pull request: https://github.com/apache/incubator-taverna-mobile/pull/28#discussion_r81107802 --- Diff: app/src/main/java/org/apache/taverna/mobile/data/remote/APIEndPoint.java --- @@ -29,5 +29,13 @@ public static final String USER = "user.xml"; public static final String LICENSE = "license.xml"; public static final String WHOAMI = "whoami.xml"; + + + public static final String XML_ACCEPT_HEADER = "Accept: application/xml"; + public static final String JSON_ACCEPT_HEADER = "Accept: application/json"; + public static final String JSON_CONTENT_HEADER = "Content-Type: application/json"; + public static final String UTF_CONTENT_ENCODING_HEADER = "Content-Encoding: UTF-8"; --- End diff -- Good job, You have managed Headers very well.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---