[prev in list] [next in list] [prev in thread] [next in thread]
List: konq-bugs
Subject: [Bug 95981] XMLHttpRequest.setRequestHeader adds a linebreak after
From: Michael Clark <michael () metaparadigm ! com>
Date: 2005-01-23 0:05:53
Message-ID: 20050123000553.25390.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=95981
------- Additional Comments From michael metaparadigm com 2005-01-23 01:05 -------
I've tracked this down - it is a bug in xmlHttpRequest.cpp. It doesn't set the \
mandatory 'content-type' metadata for the http kio_slave and kio/http/http.c just \
print a blank field. The Content-type does however shows up although it is set as an \
additional header field. This of course is the problem.
Here is a test site:
http://oss.metaparadigm.com/jsonrpc/test.jsp
I'll follow up with a patch the fixes the problem (should apply to current CVS). The \
patch changes setRequestHeader to stash the Content-type instead of adding it and \
then it is added to the job as metadata (which is the correct method accoriding to \
the comments in job.h).
Once you apply the patch you'll find the above test site works.
_______________________________________________
Konq-bugs mailing list
Konq-bugs@mail.kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic