1..73 # ->getLanguages() - returns an empty array if the client do not send an ACCEPT_LANGUAGE header - returns an empty array if the client send an empty ACCEPT_LANGUAGE header - returns an array with all accepted languages # ->getPreferredCulture() - returns the first given culture if the client do not send an ACCEPT_LANGUAGE header - returns the preferred culture - returns the preferred culture # ->getCharsets() - returns an empty array if the client do not send an ACCEPT_CHARSET header - returns an empty array if the client send an empty ACCEPT_CHARSET header - returns an array with all accepted charsets # ->getAcceptableContentTypes() - returns an empty array if the client do not send an ACCEPT header # Failed test (./sfWebRequestTest.php at line 96) # got: array ( 0 => '*/*', ) # expected: array ( ) - returns an empty array if the client send an empty ACCEPT header - returns an array with all accepted content types # ->splitHttpAcceptHeader() - returns an empty array if the header is empty - returns an array of values - strips the q value - sorts values by the q value - sorts values by the q value including equal values - trims whitespaces - removes values when q = 0 (as per the RFC) # ->getRequestFormat() ->setRequestFormat() - returns null if the format is not defined in the request - returns the request format - sets the request format # ->getFormat() ->setFormat() - returns the format for the given mime type - can take an array of mime types - returns null if the mime type does not exist # ->getMimeType() - returns the first mime type for the given format - returns null if the format does not exist # ->isSecure() - returns false if request is not secure - checks the environment variable - checks the environment variable - checks the environment variable - checks the environment variable - checks the environment variable - checks the environment variable - checks the environment variable # ->getUriPrefix() - returns no port for standard http port - works fine with no port in HTTP_HOST - works for nonstandard http ports - returns no port for standard https port - works fine with no port in HTTP_HOST - works for nonstandard https ports - uses the environment variable - uses the environment variable - uses the configured port - uses the configured port - works on secure requests forwarded as non-secure requests - uses the configured port on secure requests forwarded as non-secure requests # ->getRemoteAddress() - returns the remote address # ->getForwardedFor() - returns null if the request was not forwarded. # Failed test (./sfWebRequestTest.php at line 237) # got: array ( 0 => '10.1.239.4', ) # expected: NULL - returns the value from HTTP_X_FORWARDED_FOR # ->getMethod() - returns the parameter value if it exists and if the method is POST - returns the parameter value if it exists and if the method is POST - returns the parameter value if it exists and if the method is POST # ->getScriptName() - returns the script name - returns the script name if SCRIPT_NAME not set it use ORIG_SCRIPT_NAME - returns the script name if SCRIPT_NAME and ORIG_SCRIPT_NAME not set it return empty # ->getPathInfo() - check if default path_info_key is PATH_INFO - returns the url path value - returns the url path value use path_info_key - returns the url path value if it not exists use default REQUEST_URI - returns the url path value if it not exists use default REQUEST_URI without query - returns the url path value if it not exists use default / # Failed test (./sfWebRequestTest.php at line 307) # got: '/test/klaus2' # expected: '/' # getPathInfo - returns the request parameters default array - returns the request parameters - returns the request parameters allready exists - returns the request parameters check fixParameters call for special _sf_ params - check special param is set as attribute # ->checkCSRFProtection() - throws a validator error if CSRF protection fails - checks token from BaseForm # ->getContentType() - returns the content type - strips the charset information by default - does not strip the charset information by defaultif you pass false as the first argument # ->getHost() - returns the last forwarded host # Looks like you failed 3 tests of 73.