Like in SIP, this has to be optional.
/O
20 feb 2007 kl. 21.26 skrev svn-commits lists.digium.com:
> Author: russell
> Date: Tue Feb 20 14:26:06 2007
> New Revision: 55634
>
> URL: http://svn.digium.com/view/asterisk?view=rev&rev=5
5634
> Log:
> Add the Asterisk version information to the Server
header in HTTP
> responses. (requested by Pari)
>
> Modified:
> branches/1.4/main/http.c
>
> Modified: branches/1.4/main/http.c
> URL: http://svn.digium.com/view/asterisk/branches/1.4/ma
in/http.c?
> view=diff&rev=55634&r1=55633&r2=55634
>
============================================================
==========
> ========
> --- branches/1.4/main/http.c (original)
> +++ branches/1.4/main/http.c Tue Feb 20 14:26:06 2007
>  -53,6 +53,7 
> #include "asterisk/strings.h"
> #include "asterisk/options.h"
> #include "asterisk/config.h"
> +#include "asterisk/version.h"
>
> #define MAX_PREFIX 80
> #define DEFAULT_PREFIX "/asterisk"
>  -477,7 +478,7 
> time(&t);
> strftime(timebuf, sizeof(timebuf), "%a, %d %b
%Y %H:%M:%S GMT",
> gmtime(&t));
> ast_cli(ser->fd, "HTTP/1.1 %d %srn",
status, title ? title :
> "OK");
> - ast_cli(ser->fd, "Server:
Asteriskrn");
> + ast_cli(ser->fd, "Server:
Asterisk/%srn", ASTERISK_VERSION);
> ast_cli(ser->fd, "Date: %srn",
timebuf);
> ast_cli(ser->fd, "Connection:
closern");
> if (contentlength) {
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> svn-commits mailing list
> To UNSUBSCRIBE or update options visit:
>
http://lists.digium.com/mailman/listinfo/svn-commits
---
* Olle E Johansson - oej edvina.net
* Cell phone +46 70 593 68 51, Office +46 8 96 40 20,
Sweden
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev
|