< Previous by Date Date Index Next by Date >
  Thread Index  

[reSIProcate] Route header and makeChallengeResponseAuth


Hi,

 

In Helper, makeChallengeResponseAuth(..) sets the uri in the Authorization header as follows:

 

s << request.header(h_RequestLine).uri();

 

So what happens if the request is supposed to have a Route header, in which case the URI in the request line will get changed *after* makeChallengeResponseAuth(..) gets called?  Doesn’t this mean that the URI in the Authorization header won’t match the (updated) URI in the request line after the headers are updated?

 

 - Jeremy -