Edit report at https://bugs.php.net/bug.php?id=63761&edit=1
ID: 63761 User updated by: bworkman2007 at my dot fit dot edu Reported by: bworkman2007 at my dot fit dot edu Summary: 400 returned when cookie not sent -Status: Open +Status: Closed Type: Bug Package: Website problem Operating System: Windows 7 (x32,x64) PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Problem currently does not exist Previous Comments: ------------------------------------------------------------------------ [2012-12-13 17:25:43] bworkman2007 at my dot fit dot edu Description: ------------ After poking around with wireshark I found that GET requests made without sending the following header: Cookie: COUNTRY=USA%2Cxxx.xxx.xxx.xxx; LAST_LANG=en return a 400 from the server. Test script: --------------- GET / HTTP/1.1 User-Agent: Opera/9.80 (Windows NT 6.1; WOW64) Presto/2.12.388 Version/12.11 Host: php.net Accept: text/html, application/xml;q=0.9, application/xhtml+xml, image/png, image/webp, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1 Accept-Language: en-US,en;q=0.9 Accept-Encoding: gzip, deflate Cache-Control: no-cache Connection: Keep-Alive Expected result: ---------------- HTTP/1.1 200 OK Server: myracloud Date: Thu, 13 Dec 2012 17:24:48 GMT Content-Type: text/html;charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive Content-language: en Last-Modified: Thu, 13 Dec 2012 17:20:18 GMT Content-Encoding: gzip Vary: Accept-Encoding Expires: Thu, 13 Dec 2012 18:24:48 GMT Cache-Control: max-age=3600 Actual result: -------------- HTTP/1.1 400 Bad Request Server: myracloud Date: Thu, 13 Dec 2012 17:23:24 GMT Content-Type: text/html; charset=iso-8859-1 Transfer-Encoding: chunked Connection: keep-alive Expires: Mon, 10 Dec 2012 23:01:21 GMT Cache-Control: max-age=0 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63761&edit=1 -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
