[issue11463] IncompleteRead: IncompleteRead(168 bytes read)

2011-03-19 Thread Senthil Kumaran

Senthil Kumaran orsent...@gmail.com added the comment:

Since the reporter did not get back with more details (testing against curl or 
a HEAD output to eliminate server issues), I am closing this issue.

--
resolution:  - invalid
status: pending - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11463
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11463] IncompleteRead: IncompleteRead(168 bytes read)

2011-03-18 Thread Terry J. Reedy

Terry J. Reedy tjre...@udel.edu added the comment:

2.6 is only open for security issues, so any verification should use later 
version.

--
nosy: +terry.reedy
status: pending - open
versions:  -Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11463
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11463] IncompleteRead: IncompleteRead(168 bytes read)

2011-03-18 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
status: open - pending

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11463
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11463] IncompleteRead: IncompleteRead(168 bytes read)

2011-03-11 Thread Senthil Kumaran

Senthil Kumaran orsent...@gmail.com added the comment:

Yes, please ensure that server is returning a proper HTTP response. Test it 
against browser or curl and see if they work. If they work, then it needs to be 
investigated as why 'http.client' is not working.

--
assignee:  - orsenthil
nosy: +orsenthil
stage:  - committed/rejected
status: open - pending

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11463
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11463] IncompleteRead: IncompleteRead(168 bytes read)

2011-03-10 Thread Luís Antônio Araújo de Brito

New submission from Luís Antônio Araújo de Brito l...@multmeio.com.br:

Hi folks,
I have an app that talk with cPanel for create/suspend/unsuspend/kill 
domaind.. So when I use the urllib2 to get response for cPanel and read it. It 
show the IncompleteRead except. 
I get the same URL in a browser and the response is ok. With lib it's 
broked.

The Code Sample
--
auth = WHM my_user:%s % HASHHASHHASHHASH
_opener = urllib2.build_opener()
_opener.addheaders = [('Authorization', auth)]

url = http://my_cpanel_url/scripts/remote_suspend?user=%s; % 
user_on_cpanel_name
try:
f = _opener.open(url)
except urllib2.HTTPError, e:
raise OperationError(e)
result = f.read() # -- IncompleteRead except HERE
f.close()
print result.strip()
-

--
messages: 130540
nosy: caitifbrito
priority: normal
severity: normal
status: open
title: IncompleteRead: IncompleteRead(168 bytes read)
type: resource usage
versions: Python 2.6

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11463
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11463] IncompleteRead: IncompleteRead(168 bytes read)

2011-03-10 Thread Luís Antônio Araújo de Brito

Changes by Luís Antônio Araújo de Brito l...@multmeio.com.br:


--
nosy: +hdiogenes

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11463
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11463] IncompleteRead: IncompleteRead(168 bytes read)

2011-03-10 Thread Humberto Diogenes

Humberto Diogenes humbe...@digi.com.br added the comment:

Luís, please analyse the response from the web server to see if it really is a 
valid HTTP response - AFAIK CPanel web services do not always give valid HTTP 
responses.

--
components: +Library (Lib)
type: resource usage - behavior

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11463
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com