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

Gajim Plugins trac at gajim.org
Thu Aug 13 20:15:15 CEST 2015


#105: Get Content-Length/Type with HEAD request
------------------------+------------------------------------
Reporter:  arune        |       Owner:  arune
    Type:  enhancement  |      Status:  new
Priority:  minor        |   Component:  UrlImagePreviewPlugin
Keywords:               |  Blocked By:
Blocking:               |
------------------------+------------------------------------
\
\
 Before downloading an image, get the Content-Type and Content-Length by
 using HTTP HEAD request (GET without the actual data, just headers), then
 check if type is a usable image format and that the size is below a
 configurable limit.
\
\
\

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


More information about the Trac_gajim-plugins mailing list