.pls files viewed as text/plain

Waldo Bastian bastian at kde.org
Mon Sep 16 19:37:27 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 16 September 2002 11:27 am, Martijn Klingens wrote:
> On Monday 16 September 2002 19:35, Waldo Bastian wrote:
> > I guess the webserver isn't configured properly. It returns with the
> > following response. I dunno what .pls is supposed to be for type
> > (playlist?) but it should probably send along another mimetype than
> > text/plain.
>
> Yes, it's a playlist. The website of ID&T radio (www.id-t.com) does it
> correctly:
>
> kparts: BrowserRun::scanfile http://62.250.12.54:8000/listen.pls
> kparts: slotBrowserMimetype: found audio/x-scpls for
> http://62.250.12.54:8000/listen.pls
>
> So you need the mimetype audio/x-scpls.
>
> Can this be solved using mime magic and/or using the file extension (eek :)
> or do we require the server to be fixed instead?

We consider the server authorative. If the server sends something we assume it 
to be correct. So the server should be fixed.

Cheers,
Waldo
- -- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9hiTnN4pvrENfboIRAt5xAJ0WDGCWg3Zki25qap6eh9wQlVLSUQCglEGn
U/56r3HdX2UTmKATpKpeJzc=
=D+mo
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list