Accept-Header?

Hello.
I have a little problem ( I hope (o; ) ...
I want to have influence on the accept headers send with a request. The way
I do it can not be the right way.
I add my own conversion like "HTFormat_addConversion("text/vnd.wap.wml",
"www/wap", HTThroughLine, 1.0, 0.0, 0.0)" and set the output format of my
request with "HTRequest_setOutputFormat(request, HTAtom_for("www/wap"))".
If I now access a wml page everything works fine, but if I access e.g a
html
page the content disappear into black hole, the content is empty, but the
status of the request is still 200 instead of 406!

What have I to do to get the status 406, if I access a page with the
"wrong" content type ?

Has anybody a hint ?
Thanks Timo!

Received on Wednesday, 27 June 2001 11:13:22 UTC