Всем привет.Есть следующая проблема:
генерирую картинку на лету (ну или читаю из базы),
в неком скрипте (image.pl). Мне надо, чтобы при записи этого файла
указывалося не ИМЯ СКРИПТА, а некое имя которое, созданное по правилам.
Я отдаю следующие headers:
===== start
HTTP/1.1 200 OK
Date: Tue, 24 Sep 2002 17:00:34 GMT
Server: Apache/1.3.26 (Unix) PHP/4.2.3 mod_macro/1.1.2 mod_perl/1.27 rus/PL30.15
Content-Location: data_21.jpeg
Connection: close
Content-Type: image/jpeg
===== endContent-Location не помогает.
Не подскажете, как с этим бороться???
Выдержка из RFC 2616 (HTTP/1.1):--= [ cut ] =--
<pre>
The Content-Location value is not a replacement for the original
requested URI; it is only a statement of the location of the resource
corresponding to this particular entity at the time of the request.
Future requests MAY specify the Content-Location URI as the request-
URI if the desire is to identify the source of that particular
entity.
</pre>
--= [ cut ] =--То есть этот заголовок не говорит, как надо именовать выдающиеся данные, а указывает на альтернативное местоположение ресурса.