Patch submitted ! :) Rémi
On Wed, Jan 14, 2009 at 21:31, Jerome Louvel <[email protected]>wrote: > Hi Rémi, > > This remark has been made in the past and we have a RFE for this pending: > > "Add Request#getForwardedAddresses() method" > http://restlet.tigris.org/issues/show_bug.cgi?id=668 > > If you have time to work on a patch that would be welcome! :) > > Best regards, > Jérôme Louvel > -- > Restlet ~ Founder and Lead developer ~ http://www.restlet.org > Noelios Technologies ~ Co-founder ~ http://www.noelios.com > > ------------------------------ > *De :* [email protected] [mailto:[email protected]] *De la part de > * Rémi Dewitte > *Envoyé :* lundi 12 janvier 2009 17:34 > *À :* [email protected] > *Objet :* HttpRequest suggestion > > Hello all, > > When using http forward, I would find more convenient to have the real > client address using request.getClientInfo().getAddress() instead of the > forwarder component. > > It means changing line 227 of HttpRequest from > result.getAddresses().add(addresses[i].trim()); > to > result.getAddresses().add(0,addresses[i].trim()); > > What do you think ? > > Rémi >

