specifying content-type header in response and adding oauth token to github request