W3C home > Mailing lists > Public > www-lib@w3.org > April to June 2001


From: <Timo.Ross@ic3s.de>
Date: Wed, 27 Jun 2001 17:12:45 +0200
To: www-lib@w3.org
Message-ID: <OF22FA8A87.63B62BB4-ONC1256A78.00522C19@ic3s.de>
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
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:54 UTC