Skip to content

XhrPolling.test_transport fails because of the bug at verify_content_type #66

@ngocdaothanh

Description

@ngocdaothanh

Source code of verify_content_type:

def verify_content_type(self, r, content_type):
    self.assertEqual(r['content-type'].replace(' ', ''), content_type)

It always fails when content_type contains space:

self.verify_content_type(r, 'text/plain; charset=UTF-8')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions