I would change both L15 is specific to the Http service so use http://groovy.codehaus.org/modules/http-builder/apidocs/groovyx/net/http/ContentType.html#HTML and the header is for the GitHub API to return so use the one from your docs