Abhoryo/APYDataGridBundle — pull request #162 by Spea (2012-06-29 15:09:43+00:00)
Title: Fixed expiration header when using export.

The expiration header in export was set to ```0```, also this works fine in development environment, this results in an error when using it in production environment because in most cases the AppCache (HttpCache) is used -> ```$kernel = new AppCache($kernel);```

When using the AppCache symfony complains about the Expires header that this field is not parseable, since it [expects a RFC2822 date format](https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpFoundation/HeaderBag.php#L236). So instead of setting Expires header to ```0``` I just use the implemented ```expire``` method from the Response class.

**Note:** Don't get confused about the changes in the ```Configuration.php``` file, git only adjusted line endings automatically.