httpsURLConnection 을 사용하는데요.
header를 추가할 때
httpsConnection.setRequestProperty("aKey", "aValue");
httpsConnection.setRequestProperty("bKey", "bValue");
이렇게 사용해 왔었는데요.
이게 넥서스5에서 사용할 떄 IllegalArgumentException 을 발생하더라구요.
unexcptected header 이렇게 나오면서요.
4.4 버전 이전에는 exception 없이 잘 사용했거든요.
혹시 다른 방법이 있는지 문의 드립니다.