 ! See http://factorcode.org/license.txt for BSD license
 
 USING: accessors ascii colors.constants combinators
-continuations io io.encodings.utf8 io.pathnames io.sockets
-io.sockets.secure io.styles kernel make math namespaces present
-sequences sequences.extras splitting urls wrap.strings ;
+continuations images.loader images.loader.private images.viewer
+io io.encodings.binary io.encodings.string io.encodings.utf8
+io.pathnames io.sockets io.sockets.secure io.styles kernel make
+math namespaces present sequences sequences.extras splitting
+urls wrap.strings ;
 
 IN: gemini
 

DEFER: gemtext.

: gemini. ( url -- )
    dup gemini 2nip gemtext. ;

<PRIVATE


PRIVATE>

: gemini ( url -- status meta body/f )
    dup gemini-addr binary [
        gemini-tls
        send-request
        read-response
