{"action":"closed","issue":{"url":"https://api.github.com/repos/square/retrofit/issues/1071","labels_url":"https://api.github.com/repos/square/retrofit/issues/1071/labels{/name}","comments_url":"https://api.github.com/repos/square/retrofit/issues/1071/comments","events_url":"https://api.github.com/repos/square/retrofit/issues/1071/events","html_url":"https://github.com/square/retrofit/issues/1071","id":105712659,"number":1071,"title":"Compile error with @Headers","user":{"login":"ber4444","id":205867,"avatar_url":"https://avatars.githubusercontent.com/u/205867?v=3","gravatar_id":"","url":"https://api.github.com/users/ber4444","html_url":"https://github.com/ber4444","followers_url":"https://api.github.com/users/ber4444/followers","following_url":"https://api.github.com/users/ber4444/following{/other_user}","gists_url":"https://api.github.com/users/ber4444/gists{/gist_id}","starred_url":"https://api.github.com/users/ber4444/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ber4444/subscriptions","organizations_url":"https://api.github.com/users/ber4444/orgs","repos_url":"https://api.github.com/users/ber4444/repos","events_url":"https://api.github.com/users/ber4444/events{/privacy}","received_events_url":"https://api.github.com/users/ber4444/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-10T01:13:23Z","updated_at":"2015-09-11T23:18:06Z","closed_at":"2015-09-11T23:18:06Z","body":"When I add a `@Headers(\"Content-Type: application/vnd.ll.events+json\")` to my REST interface, I get:\r\n```\r\nException in thread \"main\" java.io.EOFException: End of input at line 1 column 1\r\n\tat com.google.gson.stream.JsonReader.nextNonWhitespace(JsonReader.java:1414)\r\n\tat com.google.gson.stream.JsonReader.doPeek(JsonReader.java:553)\r\n\tat com.google.gson.stream.JsonReader.peek(JsonReader.java:429)\r\n\tat com.google.gson.internal.bind.TypeAdapters$13.read(TypeAdapters.java:349)\r\n\tat com.google.gson.internal.bind.TypeAdapters$13.read(TypeAdapters.java:346)\r\n\tat com.google.gson.TypeAdapter.fromJson(TypeAdapter.java:256)\r\n\tat retrofit.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:33)\r\n\tat retrofit.GsonResponseBodyConverter.convert(GsonResponseBodyConverter.java:23)\r\n\tat retrofit.OkHttpCall.parseResponse(OkHttpCall.java:144)\r\n\tat retrofit.OkHttpCall.execute(OkHttpCall.java:112)\r\n```\r\nI'm using the SimpleService sample with the 2.x snapshot of Retrofit, talking to our internal service.\r\n\r\nWhen I remove the `@Headers` line (without any further change), everything works, except that the server gives the response:\r\n```\r\nUNSUPPORTED MEDIA TYPE\r\n```"}}