[Borges-users] Re: Outbound document headers
Слепнев Владимир
slepnev_v at rambler.ru
Tue Apr 27 17:34:39 EDT 2004
>You should be able to set headers on a document through:
>r.rendering_context.document.headers, which is a Hash.
This isn't really a hash from an app developer's perspective: I just
tried setting the value of ['Content-type'] from my app instead of
['Content-Type']. Doesn't work, sure enough - hash keys are
case-sensitive. I can think of other examples like this =)
Maybe add something like HtmlRenderer#http_header(k,v) ?
Vladimir Slepnev
More information about the Borges-users
mailing list