diff --git a/extra/images/http/http.factor b/extra/images/http/http.factor index 217c8408d1..a4c064619c 100644 --- a/extra/images/http/http.factor +++ b/extra/images/http/http.factor @@ -2,7 +2,7 @@ ! See http://factorcode.org/license.txt for BSD license. USING: accessors assocs http.client images.loader images.loader.private images.viewer io.pathnames kernel -namespaces sequences ; +namespaces present sequences ; IN: images.http : load-http-image ( path -- image ) - [ http-get swap content-type ] [ file-extension ] bi or + [ http-get swap content-type ] + [ present file-extension ] bi or (image-class) load-image* ; : http-image. ( path -- )