[twill] Redirected HTTPS page content not available

Howard B. Golden hgolden at socal.rr.com
Mon Feb 15 14:40:16 PST 2010


On Monday February 15, 2010, argetek senvx wrote:
> On Mon, Feb 15, 2010 at 10:12 PM, argetek senvx 
<argetek.senvx at gmail.com> wrote:
> > Hi,
> >
> > Using twill,
> 
> That's version 0.9.
> 
> > a resource I am accessing requires a redirection for
> > authentication to another web server (a Shibboleth IdP FWIW).  The
> > redirection seems to go fine but showforms shows nothing (there
> > should be a login form), the info output also lists the title as
> > null (even though the login page sets a TITLE) and save_html
> > results in an empty
> >
> > file.  A twill-sh session shown below:
> >>> go
> >>> http://www.ndrb.org.uk/buscador/BuscarAvanzadoCU/MostrarResultado
> >>>sImagenesPrepararRetornoDetalleImagenes.do?idioma=en&buscadorConte
> >>>nido=.*&pagina=1&formato=&recurso=&procesoCognitivo=&contexto=&eda
> >>>d=&autor=&diaPublicacion=&mesPublicacion=&anyoPublicacion=&c_s_sec
> >>>uencia=&valoracion=&areaCurricular=&identificadorODE=es-sx_2010020
> >>>5_3_9111612&tipoVisualizacion=&nodoDestino=&enlaceComunidadesSelec
> >>>cionadas=&tipoBusqueda=03&enlaceTodoAgrega=&tipoLayoutBuscador=BUS
> >>>CADOR&idTesauro=&nomTesauros=&idTesauroSugerencia=&nivelAgregacion
> >>>=&destinatarios=&keyword=art&numeroResultados=
> >

Trying this on Firefox, there is an intermediate redirection that sets 
up a cookie. I hypothesize that this cookie is somehow not being 
presented to the second redirection (to the page below). If my 
hypothesis is correct, that would explain why the page below has no 
text.

> > ==> at https://identity.siriusit.co.uk:443/idp/Authn/UserPassword
> > current page:
> > https://identity.siriusit.co.uk:443/idp/Authn/UserPassword
> >
> >>> showforms
> >
> > current page:
> > https://identity.siriusit.co.uk:443/idp/Authn/UserPassword
> >
> >>> info
> >
> > Page information:
> >         URL:
> > https://identity.siriusit.co.uk:443/idp/Authn/UserPassword HTTP
> > code: 200
> >         Content type: text/html (HTML)
> >         Page title: Null
> >
> > current page:
> > https://identity.siriusit.co.uk:443/idp/Authn/UserPassword

HTH,

Howard



More information about the twill mailing list