[Trac_gajim-plugins] [Gajim Plugins] #105: Get Content-Length/Type with HEAD request

Gajim Plugins trac at gajim.org
Tue Sep 8 22:30:53 CEST 2015

#105: Get Content-Length/Type with HEAD request
  Reporter:  arune        |      Owner:  arune
      Type:  enhancement  |     Status:  new
  Priority:  minor        |  Component:  UrlImagePreviewPlugin
Resolution:               |   Keywords:
Blocked By:               |   Blocking:

Comment (by arune):

 I just added patch v3 which still depends on
 https://trac.gajim.org/ticket/8130 to be able to download larger (>2MiB)
 images but it still works in gajim 0.16 (and newer) because eventbox is no
 longer used.

 Full changelog:
 - Content-type and content-length are checked for every URL in MUCs and
 regular chats
 - Plugin config now have a setting for max image download size (which is
 checked to content-length)
 - If content-type match and content-length is smaller then setting the
 image will be downloaded and displayed
 - (v3) Images are displayed using XHTML
 - (v3) URL is displayed until image is displayed

 Please review and give me feedback if any.

Ticket URL: <http://trac-plugins.gajim.org/ticket/105#comment:3>
Gajim Plugins <http://trac-plugins.gajim.org/>
Gajim Plugins

More information about the Trac_gajim-plugins mailing list