MediaStreamController :: downloadAction
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
| Key | Value |
|---|---|
| _controller | "sulu_media.media_stream_controller::downloadAction" |
| _fos_rest_zone | false |
| _requestAnalyzer | false |
| _route | "sulu_media.website.media.download" |
| _route_params | [ "_requestAnalyzer" => false "id" => "257" "slug" => "Business Lunch.pdf" ] |
| _sulu | Sulu\Component\Webspace\Analyzer\Attributes\RequestAttributes {#1790 -attributes: [ "requestUri" => "/media/257/download/Business%20Lunch.pdf" "portalInformation" => Sulu\Component\Webspace\PortalInformation {#1797 -type: 2 -webspace: Sulu\Component\Webspace\Webspace {#1749 -name: "Maya Bay" -key: "mayabay" -localizations: [ Sulu\Component\Localization\Localization {#1780 …} Sulu\Component\Localization\Localization {#1756 -language: "fr" -country: "" -shadow: "" -children: [] -parent: null -default: false -xDefault: "" } ] -defaultLocalization: Sulu\Component\Localization\Localization {#1780 …} -xDefaultLocalization: null -segments: [] -defaultSegment: null -theme: null -portals: [ Sulu\Component\Webspace\Portal {#1772 -name: "mayabay.com" -key: "mayabay" -localizations: [ Sulu\Component\Localization\Localization {#1779 -language: "en" -country: "" -shadow: null -children: [] -parent: null -default: "1" -xDefault: "" } Sulu\Component\Localization\Localization {#1701 -language: "fr" -country: "" -shadow: null -children: [] -parent: null -default: "" -xDefault: "" } ] -defaultLocalization: Sulu\Component\Localization\Localization {#1779} -xDefaultLocalization: Sulu\Component\Localization\Localization {#1779} -environments: [ "prod" => Sulu\Component\Webspace\Environment {#1710 -type: "prod" -urls: [ Sulu\Component\Webspace\Url {#1773 …} Sulu\Component\Webspace\Url {#1786 -language: "fr" -country: "" -segment: "" -redirect: "" -main: false -url: "{host}/{localization}" -environment: "prod" } ] -customUrls: [] -mainUrl: Sulu\Component\Webspace\Url {#1773 …} } "stage" => Sulu\Component\Webspace\Environment {#1783 -type: "stage" -urls: [ Sulu\Component\Webspace\Url {#1782 …} Sulu\Component\Webspace\Url {#1778 -language: "fr" -country: "" -segment: "" -redirect: "" -main: false -url: "{host}/{localization}" -environment: "stage" } ] -customUrls: [] -mainUrl: Sulu\Component\Webspace\Url {#1782 …} } "test" => Sulu\Component\Webspace\Environment {#1781 -type: "test" -urls: [ Sulu\Component\Webspace\Url {#1708 …} Sulu\Component\Webspace\Url {#1774 -language: "fr" -country: "" -segment: "" -redirect: "" -main: false -url: "{host}/{localization}" -environment: "test" } ] -customUrls: [] -mainUrl: Sulu\Component\Webspace\Url {#1708 …} } "dev" => Sulu\Component\Webspace\Environment {#1711 -type: "dev" -urls: [ Sulu\Component\Webspace\Url {#1712 …} Sulu\Component\Webspace\Url {#1713 -language: "fr" -country: "" -segment: "" -redirect: "" -main: false -url: "{host}/{localization}" -environment: "dev" } ] -customUrls: [] -mainUrl: Sulu\Component\Webspace\Url {#1712 …} } ] -webspace: Sulu\Component\Webspace\Webspace {#1749} } ] -security: null -navigation: Sulu\Component\Webspace\Navigation {#1753 …} -templates: [ "search" => "search/search" "error" => "error/error" "error-404" => "error/error-404" ] -defaultTemplates: [ "page" => "default" "home" => "homepage" ] -excludedTemplates: [] -resourceLocatorStrategy: "tree_leaf_edit" } -portal: Sulu\Component\Webspace\Portal {#1772} -localization: null -segment: null -url: "maya-bay.ewm.dev" -redirect: "maya-bay.ewm.dev/{localization}" -main: false -urlExpression: "maya-bay.ewm.dev/{localization}" -priority: 4 } "matchType" => 2 "redirect" => "maya-bay.ewm.dev/{localization}" "portalUrl" => "maya-bay.ewm.dev" "webspace" => Sulu\Component\Webspace\Webspace {#1749} "portal" => Sulu\Component\Webspace\Portal {#1772} "localization" => Sulu\Component\Localization\Localization {#1779} "locale" => "en" "urlExpression" => "maya-bay.ewm.dev/{localization}" "resourceLocator" => "/media/257/download/Business%20Lunch" "format" => "pdf" "dateTime" => DateTime @1765407147 {#1636 : 2025-12-10 23:52:27.125676 Europe/Zurich (+01:00) } "host" => "maya-bay.ewm.dev" "port" => 443 "path" => "/media/257/download/Business%20Lunch.pdf" "scheme" => "https" ] } |
| id | "257" |
| slug | "Business Lunch.pdf" |
Request Headers
| Header | Value |
|---|---|
| accept | "*/*" |
| accept-encoding | "gzip, br, zstd, deflate" |
| host | "maya-bay.ewm.dev" |
| user-agent | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" |
| x-forwarded-proto | "https" |
| x-php-ob-level | "1" |
Request Content
Request content not available (it was retrieved as a resource).
Response
Response Headers
| Header | Value |
|---|---|
| accept-ranges | "bytes" |
| cache-control | "public" |
| content-disposition | "attachment; filename=business-lunch.pdf; filename*=utf-8''Business%20Lunch.pdf" |
| content-length | "108354" |
| content-type | "application/pdf" |
| date | "Wed, 10 Dec 2025 22:52:27 GMT" |
| last-modified | "Fri, 24 Oct 2025 16:34:40 GMT" |
| x-cache-debug | "1" |
| x-debug-token | "b0cff3" |
| x-generator | "Sulu/2.6.11" |
Cookies
Request Cookies
No request cookies
Response Cookies
No response cookies
Session
Session Metadata
No session metadata
Session Attributes
No session attributes
Session Usage
0
Usages
Stateless check enabled
Session not used.
Flashes
Flashes
No flash messages were created.
Server Parameters
Server Parameters
Defined in .env
| Key | Value |
|---|---|
| APP_ENV | "dev" |
| APP_SECRET | "3208de71deef64d15c9053c4a47af73d" |
| BREVO_API_KEY | "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" |
| DATABASE_URL | "mysql://rp8ki_maya_bay:STT_ePXKgS7@rp8ki.myd.infomaniak.com:3306/rp8ki_maya_bay?serverVersion=5.7&charset=utf8mb4" |
| LOCK_DSN | "flock" |
| MAILER_DSN | "smtp://127.0.0.1:25" |
| RECAPTCHA_SECRET_KEY | "6LeVlfMlAAAAAByLltfbO87JDjIHlzX91-oKV48B" |
| RECAPTCHA_SITE_KEY | "6LeVlfMlAAAAAHTTDroC6oJkKH9gd-LI8xUwgdzV" |
| SULU_ADMIN_EMAIL | "m.sahnoun@ewm.swiss" |
| WEBSITE_IMAGE_EXTENSION | "webp" |
Defined as regular env variables
| Key | Value |
|---|---|
| APP_DEBUG | "1" |
| CONTEXT_DOCUMENT_ROOT | "/home/clients/b7d10bf6ba33597643b38868185a25af/.config/apache/maya-bay.ewm.dev/.fpm/" |
| CONTEXT_PREFIX | "/.fpm/" |
| DOCUMENT_ROOT | "/home/clients/b7d10bf6ba33597643b38868185a25af/var/www/maya-bay-be/public" |
| FCGI_ROLE | "RESPONDER" |
| GATEWAY_INTERFACE | "CGI/1.1" |
| HTTPS | "on" |
| HTTP_ACCEPT | "*/*" |
| HTTP_ACCEPT_ENCODING | "gzip, br, zstd, deflate" |
| HTTP_HOST | "maya-bay.ewm.dev" |
| HTTP_USER_AGENT | "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" |
| HTTP_X_FORWARDED_PROTO | "https" |
| ORIG_PATH_INFO | "/index.php" |
| ORIG_PATH_TRANSLATED | "/home/clients/b7d10bf6ba33597643b38868185a25af/var/www/maya-bay-be/public/index.php" |
| ORIG_SCRIPT_FILENAME | "/home/clients/b7d10bf6ba33597643b38868185a25af/.config/apache/maya-bay.ewm.dev/.fpm/php5.external" |
| ORIG_SCRIPT_NAME | "/.fpm/php5.external" |
| PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
| PHP_SELF | "/index.php" |
| PHP_VERSION | "8.2" |
| QUERY_STRING | "" |
| REDIRECT_HANDLER | "php5-fcgi" |
| REDIRECT_HTTPS | "on" |
| REDIRECT_PHP_VERSION | "8.2" |
| REDIRECT_REDIRECT_HTTPS | "on" |
| REDIRECT_REDIRECT_PHP_VERSION | "8.2" |
| REDIRECT_REDIRECT_SCRIPT_URI | "https://maya-bay.ewm.dev/media/257/download/Business Lunch.pdf" |
| REDIRECT_REDIRECT_SCRIPT_URL | "/media/257/download/Business Lunch.pdf" |
| REDIRECT_REDIRECT_SSL_TLS_SNI | "maya-bay.ewm.dev" |
| REDIRECT_REDIRECT_STATUS | "200" |
| REDIRECT_REDIRECT_UNIQUE_ID | "aTn5qu80vbfRZkLSfBZZQAAAAFE" |
| REDIRECT_SCRIPT_URI | "https://maya-bay.ewm.dev/media/257/download/Business Lunch.pdf" |
| REDIRECT_SCRIPT_URL | "/media/257/download/Business Lunch.pdf" |
| REDIRECT_SSL_TLS_SNI | "maya-bay.ewm.dev" |
| REDIRECT_STATUS | "200" |
| REDIRECT_UNIQUE_ID | "aTn5qu80vbfRZkLSfBZZQAAAAFE" |
| REDIRECT_URL | "/index.php" |
| REMOTE_ADDR | "216.73.216.23" |
| REMOTE_PORT | "45640" |
| REQUEST_METHOD | "GET" |
| REQUEST_SCHEME | "https" |
| REQUEST_TIME | 1765407146 |
| REQUEST_TIME_FLOAT | 1765407146.7804 |
| REQUEST_URI | "/media/257/download/Business%20Lunch.pdf" |
| SCRIPT_FILENAME | "/home/clients/b7d10bf6ba33597643b38868185a25af/var/www/maya-bay-be/public/index.php" |
| SCRIPT_NAME | "/index.php" |
| SCRIPT_URI | "https://maya-bay.ewm.dev/media/257/download/Business Lunch.pdf" |
| SCRIPT_URL | "/media/257/download/Business Lunch.pdf" |
| SERVER_ADDR | "127.0.0.80" |
| SERVER_ADMIN | "webmaster@ewm.dev" |
| SERVER_NAME | "maya-bay.ewm.dev" |
| SERVER_PORT | "443" |
| SERVER_PROTOCOL | "HTTP/1.1" |
| SERVER_SIGNATURE | "" |
| SERVER_SOFTWARE | "Apache" |
| SSL_TLS_SNI | "maya-bay.ewm.dev" |
| SYMFONY_DOTENV_PATH | "/home/clients/b7d10bf6ba33597643b38868185a25af/var/www/maya-bay-be/.env" |
| SYMFONY_DOTENV_VARS | "APP_ENV,APP_SECRET,LOCK_DSN,DATABASE_URL,SULU_ADMIN_EMAIL,MAILER_DSN,BREVO_API_KEY,RECAPTCHA_SECRET_KEY,RECAPTCHA_SITE_KEY,WEBSITE_IMAGE_EXTENSION" |
| TEMP | "/home/clients/b7d10bf6ba33597643b38868185a25af/tmp" |
| TMP | "/home/clients/b7d10bf6ba33597643b38868185a25af/tmp" |
| TMPDIR | "/home/clients/b7d10bf6ba33597643b38868185a25af/tmp" |
| UNIQUE_ID | "aTn5qu80vbfRZkLSfBZZQAAAAFE" |