[mythtv-commits] Ticket #6189: Erroneous Content-Range in mythweb raw stream
MythTV
mythtv at cvs.mythtv.org
Thu Mar 5 16:03:17 UTC 2009
#6189: Erroneous Content-Range in mythweb raw stream
-----------------------------------------------------+----------------------
Reporter: Tom Dexter <digitalaudiorock at gmail.com> | Owner: kormoc
Type: defect | Status: closed
Priority: minor | Milestone: unknown
Component: Plugin - MythWeb | Version: 0.21-fixes
Severity: medium | Resolution: fixed
Mlocked: 0 |
-----------------------------------------------------+----------------------
Comment(by Tom Dexter <digitalaudiorock at gmail.com>):
The HEAD request change I made in my 0.21-fixes install was simply a
matter of surrounding the code printing from the file handle (in
handler.pl) with a condition.
It appears that in trunk, a similar change wouldn't work for the purposes
of getting the nice file name as I described, because the "Content-
disposition: attachment; filename=..." headers are no longer being sent,
even in stream_raw.pl. Again I don't have trunk running to try anything,
but I'd think that the "Direct Download" link wouldn't send the browser a
nice file name anymore, unless there's something happening I'm missing.
It's still creating the $name variable with the nice file name in
stream_raw.pl and stream_mp4.pl but isn't using it.
Was that removed for some specific reason? I figured it might have
something to do with the Content-disposition causing browsers to bring up
a save dialog when that wasn't desired or the like. Should it be doing
that at least for the Direct Download (raw)?
Thanks.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6189#comment:4>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list