HttpClient client = new DefaultHttpClient();
HttpPost httppost = new HttpPost("http://www.naver.com/");
HttpResponse resp>
이렇게 HTTP 응답을 받는 코드작성법을 배웠는데요!
response.getEntity().getContent();
이렇게하면 응답의 본문이나오는데... 응답헤더는 이것저것해봐도 어떻게 받는지 도저히 모르겠더라구요..
검색을 아무리 해봐도 안나오고...
도와주세요!
response.getAllHeaders() ?
엌ㅋㅋㅋ맛나욬ㅋㅋㅋㅋㅋ