https://issues.apache.org/ooo/show_bug.cgi?id=121947

            Bug ID: 121947
        Issue Type: DEFECT
           Summary: webdav ucp: set a default user agent
    Classification: Code
           Product: General
           Version: AOO 3.4.0
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: code
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

many sites require that HTTP request are sent by clients setting the User-Agent
header.
OpenOffice should set a default user agent string in every requests, unless
client code explicitly has done that
(css::ucb::XWebDAVCommandEnvironment::getUserRequestHeaders()).

Example of user agent strings:

* "Mozilla/5.0 (X11; Linux x86_64; en_US) AppleWebKit/534.34 (KHTML, like
Gecko) knetattach/4.9.5 Safari/534.34"
* "curl/7.27.0"
* "Mozilla/5.0 (X11; Linux x86_64; rv:19.0) Gecko/20100101 Firefox/19.0"
* "Apache/2.4.3 (Fedora) OpenSSL/1.0.1e-fips PHP/5.4.12 mod_wsgi/3.4
Python/2.7.3 mod_perl/2.0.8-dev Perl/v5.16.2 (internal dummy connection)"
* "urlgrabber/3.9.1 yum/3.4.3"

The format is defined in http://tools.ietf.org/html/rfc2616#section-14.43

       User-Agent     = "User-Agent" ":" 1*( product | comment )

Example:

       User-Agent: CERN-LineMode/2.15 libwww/2.17b3

For OpenOffice, we could use:

"OpenOffice/4.0.0"

It might be useful to provide information about the libraries:

"OpenOffice/4.0.0 apr/1.4.5 apr-util/1.4.1 serf/1.2.0"

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Reply via email to