Hi,<br><br><div><span class="gmail_quote">On 5/29/06, <b class="gmail_sendername">Marco Baringer</b> <<a href="mailto:mb@bese.it">mb@bese.it</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
"Marijn Haverbeke" <<a href="mailto:marijnh@gmail.com">marijnh@gmail.com</a>> writes:<br>> - Is there a supported way to get header variables out of a request object? I<br>> can just access the headers slot using ucw::headers, but that's not very nice.
<br>> - Also, is there a way to set headers for a response? I need one header added<br>> to every response the server generates, but I haven't been able to find a way<br>> to even set a header in a single response.
<br><br>the get-header and (setf get-header) methods are defined for both<br>request and response object. [get-header on a response is silly, as is<br>(setf get-header) on a request].</blockquote><div><br>But in my version of UCW (straight from darcs  repo), ucw::get-header is an internal symbol... so  I assumed it was not part of the interface. Is this for a reason? Are library users supposed to just use internal symbols from UCW?
<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">if it were to give you warm fuzzy feelings here's what you'd need to<br>do:<br>
<br>(setf (component.calling-component my-component) nil)</blockquote><div><br></div></div>I'm definitely feeling more warm and fuzzy now that I at least have a clue what is going on. Thanks!<br><br>Regards,<br>Marijn Haverbeke
<br>