Hi, Alex.
With your patch and this configuration:
image_filter resize 10000000 -; (something wider than input image)
image_filter convert webp;
no conversion occurs but return headers contain content-type: image/webp
I expect that when specifying the conversion filter it will apply anyway.
Most likely there is a shortcut somewhere in the algorithm, where after the
condition code goes directly to the output, but I could not find it.
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel