X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?a=blobdiff_plain;f=yarrg%2Fdictionary-manager;h=46a5902f9721e741b3b65f3683236a412b314609;hb=ca7f7a582f148a9e7d5e182451b59c4b2b151389;hp=83c7e548c29ff3873a9b4e0057ded05f1fdeb1f7;hpb=c684b3ed0711098cdce5c2ad651f79d6631b0ba4;p=ypp-sc-tools.db-test.git diff --git a/yarrg/dictionary-manager b/yarrg/dictionary-manager index 83c7e54..46a5902 100755 --- a/yarrg/dictionary-manager +++ b/yarrg/dictionary-manager @@ -510,13 +510,7 @@ proc upload_init {} { } if {$privacy_setting} { package require http - ::http::config -urlencoding utf-8 - set ua [::http::config -useragent] - debug "USERAGENT OLD \"$ua\"" - set ua [exec ./database-info-fetch useragentstringmap $ua \ - dictionary-manager 2>@ stderr] - ::http::config -useragent $ua - debug "USERAGENT NEW \"$ua\"" + httpclientsetup dictionary-manager } }