[Twisted-Python] URL length limits in twisted

Lenny G Arbage alengarbage at yahoo.com
Wed Aug 24 16:57:54 MDT 2005


I'm noticing silent failures using HTTPClientFactory
with len(url) >= 16400.  The factory's deferred object
immediately calls its associated callBack() method
without sending any data  (the server is likewise
written with twisted python, but it doesn't appear to
ever receive data).  The errorBack() doesn't fire,
either.

A url with len <= 16398 works just fine, firing the
callback /after/ sending the data.

According to RFC 2616, arbitrary length URLs are
allowed by HTTP, but I understand that there are
practical limitations in many implementations.  Is the
16400 url-length ceiling a known limitation in
twisted, or am I banging up against something else?

thanks,
Lenny


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 




More information about the Twisted-Python mailing list