ZF-4554: Zend_Gdata_GdataOnlineTest::testPostRetrieveEntryAndDelete failing as of r11768
Description
Zend_Gdata_GdataOnlineTest::testPostRetrieveEntryAndDelete is failing on my machine:
testPostRetrieveEntryAndDelete(Zend_Gdata_GdataOnlineTest)
Zend_Gdata_App_HttpException: Unable to read response, or response is empty
library/Zend/Gdata/App.php:483
library/Zend/Gdata.php:201
library/Zend/Gdata/App.php:610
library/Zend/Gdata/App.php:541
library/Zend/Gdata/App.php:159
library/Zend/Gdata.php:169
I'm tracked the breakage to r11768. I'm currently attempting to isolate the cause.
Comments
Posted by Trevor Johns (tjohns) on 2008-10-10T22:34:40.000+0000
Attaching packet capture.
This part is interesting:
It seems that my client begins a request, the server ACKs, and then nothing happens for 20 seconds until my client sends a FIN.
(172.19.246.207 = me, 209.85.133.191 = remote server)
Posted by Trevor Johns (tjohns) on 2008-10-10T23:10:40.000+0000
Alright, it seems that there's a problem has to do with the Content-Length HTTP header.
If, in Zend_Http_Client, I change:
to:
then the test passes. (This would be a partial revert of r11768.)
Posted by Trevor Johns (tjohns) on 2008-10-11T00:34:31.000+0000
Moving to component Zend_Http_Client.
The problem was that Zend_Http_Client's internal header's array is indexed by lowercase header names, regardless of the actual header. The changes in r11768 were looking up headers using a non-normalized name, which would always fail.
Fixed in r11857.
Posted by Alexander Veremyev (alexander) on 2008-10-11T13:02:21.000+0000
Fixed also for the 1.6.2 (r11880).
Posted by Wil Sinclair (wil) on 2008-11-13T14:10:30.000+0000
Changing issues in preparation for the 1.7.0 release.