Bug 71813 - Accept HTTP header should also contain application/xml and application/xhtml+xml mimetypes.
Summary: Accept HTTP header should also contain application/xml and application/xhtml+...
Status: CONFIRMED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.8.90 (beta2)
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-04 13:08 UTC by Julius Schwartzenberg
Modified: 2015-03-08 10:18 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julius Schwartzenberg 2004-01-04 13:08:55 UTC
Version:            (using KDE KDE 3.1.94)
Installed from:    SuSE RPMs
OS:          Linux

The current Accept HTTP header doesn't contain application/xml and application/xhtml+xml, while the header from Mozilla does contain these.

The site http://www.xstandard.com/ checks for application/xhtml+xml to determine if it should send XHTML 
1.0 or XHTML 1.1. Konqueror now gets XHTML 1.0 while it does support XHTML 1.1.
Comment 1 Thiago Macieira 2004-01-06 22:35:29 UTC
As far as I understand, Konqueror/KHTML is not a compliant XML/XHTML browser and parser yet. If that is so, this is therefore a wish and would have to wait for compliance.
Comment 2 Thomas Bettler 2004-11-22 21:07:05 UTC
I just can't wait for konqueror to be compliant to XML/XHTML standards, and sending the application/xhtml+xml accept header to easier distinguish XHTML compliant browsers from IE.
Comment 3 _ 2004-12-31 14:56:23 UTC
Konqueror/KHTML 3.3.2 does support XHTML, check out
http://www.howtocreate.co.uk/wrongWithIE/?chapter=XHTML&withHeader=1
which is an XHTML page sent with mimetype application/xhtml+xml.

It did not yet work in Konqueror/KHTML 3.2.
Comment 4 Stephan Kulow 2005-01-12 13:42:27 UTC
there are many things that didn't work with 3.2 - but current konqueror knows the mimetypes
Comment 5 Hubert Gajewski 2005-05-08 10:18:30 UTC
*** This bug has been confirmed by popular vote. ***
Comment 6 Hubert Gajewski 2005-05-08 10:53:12 UTC
I think that this bug depends on bug 52665.
Comment 7 Ralf Hildebrandt 2007-05-02 15:17:35 UTC
Any news for this one? 
Comment 8 Thomas Fjellstrom 2009-05-16 03:50:58 UTC
I've heard on #kde-devel that khtml DOES support xhtml. If that is indeed true, its about time this bug is fixed.
Comment 9 Myriam Schweingruber 2012-06-20 09:00:10 UTC
Does this still apply to Konqueror 4.8.4 or later?
Comment 10 Andrew Mason 2012-06-22 05:49:40 UTC
> Does this still apply to Konqueror 4.8.4 or later?

Yes:

Konq with Webkit:
"HTTP_ACCEPT"]=> string(84) "text/html, text/*;q=0.9,
image/jpeg;q=0.9, image/png;q=0.9, image/*;q=0.9, */*;q=0.8"

Konq with KHTML:
["HTTP_ACCEPT"]=> string(84) "text/html, text/*;q=0.9,
image/jpeg;q=0.9, image/png;q=0.9, image/*;q=0.9, */*;q=0.8"

Konqueror
Version 4.8.90 (4.8.90)
Using KDE Development Platform 4.8.90 (4.8.90
Comment 11 Myriam Schweingruber 2012-06-22 16:12:44 UTC
Thank you for the fast feedback.