1.5 Customizing Client Request Properties

<..customize request..>
 URLConnection c = url.openConnection();
 System.out.println( "old status:" +  c.getHeaderField(0) );
 System.out.println( "old Content-Type:  "
                    + c.getHeaderField( "Content-Type") );
 c.setRequestProperty( "Accept", "text/plain");  //Broken. Why????
 System.out.println( "new status:" +  c.getHeaderField(0) );
 System.out.println( "new Content-Type:  "
                    + c.getHeaderField( "Content-Type") );
-_-_-
---------------------------  
http://www.cis.ohio-state.edu/  
---------------------------  
old status:HTTP/1.1 200 OK  
old Content-Type:  text/html  
error  
---------------------------  
http://java.sun.com/  
---------------------------  
old status:HTTP/1.1 200 OK  
old Content-Type:  text/html  
error