CVSROOT:        /cvs/gnome
Module name:    libsoup
Changes by:     danw    05/11/12 14:02:41

Modified files:
        .              : Tag: libsoup-pre214-branch ChangeLog TODO 
        libsoup        : Tag: libsoup-pre214-branch 
                         soup-message-server-io.c soup-server.c 
                         soup-server.h soup-session.c soup-session.h 
        tests          : Tag: libsoup-pre214-branch get.c simple-httpd.c 

Log message:
* libsoup/soup-session.c: add a "user-agent" property,
defaulting to "libsoup/VERSION"
(constructor): if "user-agent" is set at construct time,
prepend it to the default rather than overriding it.
(setup_message): set the User-Agent request header on the request
(if it's not already set).

* libsoup/soup-server.c: add a "server-header" property,
defaulting to "libsoup/VERSION"
(constructor): if "server-header" is set at construct time,
prepend it to the default rather than overriding it.
(start_request): set the Server response header on the request.
(get_property): fix leaks

* libsoup/soup-message-server-io.c (parse_request_headers): fix
the parsing of the Host header to assume it already includes the
port (this wasn't a problem before, because SoupUri was just
ignoring the second port number when parse_request_headers
generated a url like "http://localhost:9999:9999/";).

* tests/get.c:
* tests/simple-httpd.c: set the User-Agent/Server headers

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=libsoup&who=danw&date=explicit&mindate=2005-11-12%2014:01&maxdate=2005-11-12%2014:03

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to