diff --git a/components/http_foundation/introduction.rst b/components/http_foundation/introduction.rst index cdf60f39834..f95117dd1e6 100644 --- a/components/http_foundation/introduction.rst +++ b/components/http_foundation/introduction.rst @@ -439,7 +439,7 @@ Serving Files When sending a file, you must add a ``Content-Disposition`` header to your response. While creating this header for basic file downloads is easy, using non-ASCII filenames is more involving. The -:method:`Symfony\\Component\\HttpFoundation\\Response::makeDisposition` +:method:`Symfony\\Component\\HttpFoundation\\ResponseHeaderBag::makeDisposition` abstracts the hard work behind a simple API:: use Symfony\Component\HttpFoundation\ResponseHeaderBag;