[OpenSER-Users-ES] [OT] ¿Es necesario o no una cabecera "Date" en el "REGISTER 200 OK"?

Saúl Ibarra saghul at gmail.com
Sat Mar 1 22:29:05 CET 2008


On Sat, Mar 1, 2008 at 7:41 PM, Iñaki Baz Castillo <ibc at aliax.net> wrote:
> Hola, el RFC 3261 dice:
>  ------------------------------------------------------------------
>  10.3 Processing REGISTER Requests
>
>      8. The registrar returns a 200 (OK) response.  The response MUST
>          contain Contact header field values enumerating all current
>          bindings.  Each Contact value MUST feature an "expires"
>          parameter indicating its expiration interval chosen by the
>          registrar.  The response SHOULD include a Date header field.
>  ------------------------------------------------------------------
>
>  Pero también dice:
>  ------------------------------------------------------------------
>   10.2.5 Setting the Internal Clock
>
>    If the response for a REGISTER request contains a Date header field,
>    the client MAY use this header field to learn the current time in
>    order to set any internal clocks.
>  ------------------------------------------------------------------
>
>  ¿En qué quedamos? ¿es obligatorio la cabecera "Date" en el 200 OK a un
>  REGISTER?

Leyendo los trozos que has puesto yo diría que no. Entiendo que lo que
ocurre es que si se manda un Date este lo puede usar el cliente para
algún tipo de timming... Pero dudo que sea necesario... aunque podría
equivocarme, desafortunadamente tengo el openser un poco oxidado :(

>  ¿Esto ya se lo ha revisado alguien antes de publicarlo? XD
>
>  PD: OpenSer no añade ninguna cabecera "Date".
>
>
>  --
>  Iñaki Baz Castillo
>
>  _______________________________________________
>  Users-es mailing list
>  Users-es at lists.openser.org
>  http://lists.openser.org/cgi-bin/mailman/listinfo/users-es
>



-- 
Saúl -- "Nunca subestimes el ancho de banda de un camión lleno de disketes."
----------------------------------------------------------------
http://www.saghul.net/




More information about the Users-es mailing list