log.debug(format("[%d] %s %s",id, statusLine.getStatusCode(), statusLine.getReasonPhrase())) ;
throw new HttpException(statusLine.getStatusCode()+" "+statusLine.getReasonPhrase()) ;
}
String ct = "*" ;
MediaType mt = null ;
if ( statusLine.getStatusCode() == 200 )
{
String contentType = response.getFirstHeader(HttpNames.hContentType).getValue() ;
if ( contentType != null )
{
mt = MediaType.create(contentType) ;
ct = mt.getContentType() ;
if ( log.isDebugEnabled() )
log.debug(format("[%d] %d %s :: %s",id, statusLine.getStatusCode(), statusLine.getReasonPhrase() , mt)) ;
}
else
{