[Twisted-web] return the full (absolute) request URI

Manlio Perillo manlio_perillo at libero.it
Tue Jan 15 09:24:25 EST 2008


I need to do a redirect to the same URI the client requested, however it 
seems that Twisted Web has no support for this.

request.prePathURL() is an absolute URI, but is not good and request.uri 
is not an absolute URI
(an absolute URI is required in the Location header 

Do I need to write a fullPathURL function by myself?

Thanks   Manlio Perillo

More information about the Twisted-web mailing list