This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_xmlrpc fails if gzip is not supported by client
Type: behavior Stage: resolved
Components: Library (Lib) Versions: Python 3.2, Python 3.3, Python 3.4
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: eric.araujo, ezio.melotti, ocean-city, orsenthil, serhiy.storchaka
Priority: normal Keywords:

Created on 2010-11-06 10:55 by ocean-city, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (5)
msg120603 - (view) Author: Hirokazu Yamamoto (ocean-city) * (Python committer) Date: 2010-11-06 10:57
In test_xmlrpc.py,

    def test_gsip_response(self):
        # (sniP)
        self.assertTrue(a>b)

last line can fail if gzip is not supported by client.
(gzip is not set in HTTP header's Accept-Encoding)
msg120617 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-11-06 14:32
Do you want to make a patch?
msg120668 - (view) Author: Hirokazu Yamamoto (ocean-city) * (Python committer) Date: 2010-11-07 10:55
Sorry, I cannot. I don't know HTTP.
msg120750 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-11-08 15:07
No problem :)

I’ve had a look at the test and don’t understand the problem.  What’s the client you’re referring to?  I thought that in the tests, client-side and server-side were both under control.  Is the problem related to *python* being built without gzip support?
msg331664 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2018-12-11 23:17
The server for this test is ran in the different thread of the same process. The test is skipped if gzip is not supported. I don't see a way how it can fail.
History
Date User Action Args
2022-04-11 14:57:08adminsetgithub: 54545
2021-12-09 09:55:02iritkatrielsetstatus: pending -> closed
stage: test needed -> resolved
2018-12-11 23:17:11serhiy.storchakasetstatus: open -> pending

nosy: + serhiy.storchaka
messages: + msg331664

resolution: not a bug
2012-11-18 19:36:31ezio.melottisetnosy: + ezio.melotti
stage: test needed
type: behavior

versions: + Python 3.3, Python 3.4
2010-11-08 15:07:57eric.araujosetnosy: + orsenthil
messages: + msg120750
2010-11-07 10:55:54ocean-citysetmessages: + msg120668
2010-11-06 14:32:26eric.araujosetnosy: + eric.araujo
messages: + msg120617
2010-11-06 10:57:16ocean-citysetmessages: + msg120603
2010-11-06 10:56:07ocean-cityset -> (no value)
messages: - msg120602
2010-11-06 10:55:14ocean-citycreate