Quote Originariamente inviata da Andrea1979 Visualizza il messaggio
Aggiungi questo
codice:
Header[] headerArray = response.getAllHeaders();
        
        for (Header h : headerArray) {
            System.out.println(h.getName() + " -->  " + h.getValue()+"\n_______________________________\n");
        }
e vedi che cosa viene effettivamente ritornato.

mi viene

codice:
Date -->  Sat, 21 Dec 2013 09:46:43 GMT_______________________________


Server -->  ALEPH/5.20
_______________________________


Content-type -->  text/html
_______________________________


Pragma -->  no-cache
_______________________________


Cache-Control -->  no-cache, no-store, must-revalidate
_______________________________


Expires -->  Sat, 01 Jan 2000 01:00:00 GMT
_______________________________


Content-Length -->  59964
quindi niente URL..