[mp2] returning only headers on a GET request

[prev] [thread] [next] [Date index for 2005/03/11]

From: Adam Prime x443
Subject: [mp2] returning only headers on a GET request
Date: 22:21 on 11 Mar 2005
This is sort of a weird situation, so here's a bit of background.

We have a machine that hosts quicktimes offsite.  That machine runs a =
mod_perl handler that attempts to keep the quicktimes from being =
deeplinked.  One of the other things it does it handle requests from the =
user-agent "contype" by only sending headers, instead of attempting to =
send the full file back.  contype is this weird plugin holdover that =
uses GET, but doesn't actually examine the file that's returned, just =
the headers, you can find out more about it on google if you care.

Anyway, in mp1 this was handled just find and dandy by using =
send_http_header.  But that's gone in mp2.  I would set =
$r->content-type, but i don't want to make the assumption that the file =
is a quicktime.

Any ideas?

adam

[mp2] returning only headers on a GET request
Adam Prime x443 22:21 on 11 Mar 2005

Generated at 16:59 on 18 Mar 2005 by mariachi v0.52