Re: [reSIProcate] Contact header and Helper::makeResponse
Makes sense to me to fix it.
-----Original Message-----
From: resiprocate-devel-bounces@xxxxxxxxxxxxxxx
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxx] On Behalf Of Byron
Campen
Sent: Monday, May 05, 2008 5:32 PM
To: resiprocate-devel@xxxxxxxxxxxxxxx
Subject: [reSIProcate] Contact header and Helper::makeResponse
It seems that Helper::makeResponse() adds a empty Contact header
in cases where it isn't really appropriate (ie, redirect semantics):
* any 3xx response
* OPTIONS 2xx responses (has same semantics as a redirect), and probably
other OPTIONS responses
* 485 response (similar semantics to 3xx)
Should we teach Helper to not add a Contact header in these
cases?
Best regards,
Byron Campen