Bug #12992: php ignores Accept: text/vnd.wap.wml
| From: | tf at tfromm dot com | Date: | Tue, 28 Aug 2001 07:02:13 +0000 |
| Subject: | Bug #12992: php ignores Accept: text/vnd.wap.wml | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-64454@lists.php.net to get a copy of this message | ||
From: tf@tfromm.com
Operating system: linux
PHP version: 4.0.6
PHP Bug Type: Apache related
Bug description: php ignores Accept: text/vnd.wap.wml
when
Accept: text/vnd.wap.wml
or other type is accepted and the .php site has only text/html ,
then an error should returned like:
406 Not Acceptable
like apache does.
for example:
tf@defiant:~/foobar > telnet stargazer 80
Trying 192.168.0.6...
Connected to stargazer.
Escape character is '^]'.
GET / HTTP/1.0
User-Agent: SMS
Accept: text/vnd.wap.wml
HTTP/1.1 406 Not Acceptable
--
Edit bug report at: http://bugs.php.net/?id=12992&edit=1