Table of Contents

FETCH_MEDIA_STATUS

Description:
handles status codes when downloading a media resource
DefaultAction:
process 300-304 with redirect, send 200 OK and output a status message for >=203
Preventable:
yes
Added:
2010-02-23

This event can be used to process the status codes for a media resource request in lib/exe/fetch.php. It can be used to redirect users to an error page for media resources not being found or to accept arbitrary resource requests and send convenient files back. This is processed before the MEDIA_SENDFILE and offers a BEFORE and an AFTER processing 1).

Passed Data

See also

1)
AFTER is only fired for a HTTP status lower than 204