swext: increment the extension version number to 1.2.0
... and also set the User-Agent header so the servers know who's messing with them. Change-Id: I0173db05868c5fcd0f85435adf78884ca562596d
This commit is contained in:
@@ -643,6 +643,8 @@ public class Helper
|
||||
// ((HttpsURLConnection) conn).setSSLSocketFactory(new LoggingProtocolSocketFactory());
|
||||
|
||||
conn.setRequestMethod(method);
|
||||
// TODO: is it possible to read the version from the extension metadata?
|
||||
conn.setRequestProperty("User-Agent", "LibreOffice Wiki Publisher 1.2.0");
|
||||
// note: don't connect yet so that the caller can do some further setup
|
||||
|
||||
return conn;
|
||||
|
@@ -17,7 +17,7 @@
|
||||
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
||||
-->
|
||||
<description xmlns="http://openoffice.org/extensions/description/2006" xmlns:d="http://openoffice.org/extensions/description/2006" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<version value="1.1.2"/>
|
||||
<version value="1.2.0"/>
|
||||
<identifier value="com.sun.wiki-publisher"/>
|
||||
<display-name>
|
||||
<name lang="en-US">Wiki Publisher</name>
|
||||
|
Reference in New Issue
Block a user