This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/HttpFoundation/Tests
Fabien Potencier 6efc00d39d merged branch kriswallsmith/head-streamed-response-err (PR #4502)
Commits
-------

280fc05 failing test for HEAD StreamedResponse requests

Discussion
----------

[WIP] failing test for HEAD StreamedResponse requests

An exception is thrown if you prepare a StreamedResponse with a HEAD request. I'm not sure what the right fix is…

---------------------------------------------------------------------------

by kriswallsmith at 2012-06-06T15:51:04Z

The Travis build is here: http://travis-ci.org/#!/symfony/symfony/builds/1543352

---------------------------------------------------------------------------

by sstok at 2012-06-08T11:07:31Z

Well a HEAD can't/shouldn't be streamed as it doesn't contain a body so what is the real problem here?

---------------------------------------------------------------------------

by kriswallsmith at 2012-06-08T16:14:18Z

@sstok the response is prepared by the ResponseListener regardless of request method

---------------------------------------------------------------------------

by adrienbrault at 2012-06-08T19:41:27Z

Shouldn't the test at least assert something ?
2012-06-13 16:17:27 +02:00
..
File added @ to all chmod() calls to avoid PHP warnings (operation not permitted) when using CIFS or NTFSa (closes #2125) 2012-05-15 08:44:52 +02:00
Session fixed an issue with session mocking in functional tests that do not start with a fresh session instance for each request (Silex for instance) 2012-06-12 10:24:12 +02:00
ApacheRequestTest.php moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
bootstrap.php moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
CookieTest.php moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
FileBagTest.php [HttpFoundation] Remove temporary files after tests run 2012-05-28 12:39:57 +05:45
HeaderBagTest.php moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
JsonResponseTest.php [HttpFoundation] added some unit tests (refs #4510) 2012-06-08 16:22:49 +02:00
ParameterBagTest.php moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
RedirectResponseTest.php moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
RequestMatcherTest.php [Routing] Request methods always return a raw path, fix the matcher to decode only once 2012-04-10 10:40:58 +02:00
RequestTest.php Since getClientIp() no longer takes a parameter, removed that old test 2012-05-31 19:32:31 +08:00
ResponseHeaderBagTest.php moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
ResponseTest.php fixed CS 2012-05-21 22:27:15 +02:00
ServerBagTest.php merged 2.0 2012-05-21 16:05:28 +02:00
StreamedResponseTest.php failing test for HEAD StreamedResponse requests 2012-06-05 22:28:15 -07:00