MDL-56129 core: Change HTTP error code for iOS 10 video playback
authorJonathon Fowler <fowlerj@usq.edu.au>
Mon, 7 Nov 2016 01:55:11 +0000 (09:55 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Mon, 7 Nov 2016 01:55:49 +0000 (09:55 +0800)
commit6b0d172379e30d973997ad6c9dac458138f60b65
treea850e23fc50e40fcff9211b0928cd58c48785761
parent7eb34671c13b07ae62c8391ade4777361f4384b7
MDL-56129 core: Change HTTP error code for iOS 10 video playback

This patch changes the effective response code from a 407 to a 403 when
erroring on iOS 10 and when a HTTP_X_PLAYBACK_SESSION_ID HTTP header is
found.

This causes the iOS Media framework to send the cookie with the request
which subsequently succeeds.
lib/outputrenderers.php