Ticket #322 (new defect)

Opened 1 year ago

Last modified 1 year ago

Wrong content-type

Reported by: lluki Assigned to: dev
Priority: trivial Milestone:
Component: Core Version:
Keywords: content-type, rhythmbox Cc:

Description

Hi!

I'm writing a UPnP AV Server, which i was testing with the Rhythmbox coherence plugin. I use the cling library from http://www.teleal.org/, which is rather picky in its standard confirmance...

In the attached (wireshark dump) content-type is set to

text/xml ;charset="utf-8"

But there is a typo, it should be

text/xml; charset="utf-8"

(note the moved space before the ;). All other requests work fine. Unfortunately i can't tell you which action exactly triggers the message. But it happens when i click in rhythmbox on my discovered server. So i think it happens when the plugin calls the "Browse" action of the server.

Attachments

tcptrace (0.8 kB) - added by lluki on 02.09.2010 16:04:20.
Wireshark trace of the faulty communication

Change History

02.09.2010 16:04:20 changed by lluki

  • attachment tcptrace added.

Wireshark trace of the faulty communication

02.09.2010 16:07:13 changed by lluki

Some information about the versions: I use those that are in the Ubuntu 10.04 repos.

rhythmbox 0.12.8-0ubuntu3 rhythmbox-plugin-coherence 0.12.8-0ubuntu7

09.09.2010 13:48:20 changed by lluki

Coherence version: 0.6.6.2 (version from ubuntu 10.04 repos)

File: soap_proxy.py, Line 47

change:

headers = { 'content-type': 'text/xml ;charset="utf-8"

to:

headers = { 'content-type': 'text/xml; charset="utf-8"

please include this in further releases :)