anchor.diff:    (request webkit-network-request))
   (export 'webkit-download-new)
   
  +;; Initiate the download.
   (defcfun "webkit_download_start" :void
     (download webkit-download))
   (export 'webkit-download-start)
   
  +;; Cancel the download.
  +;;
  +;; TODO: this will not free the download object, it must be freed with `g_object_unref()'
  +;; NOTE: this emits a WebKitDownload::error signal
   (defcfun "webkit_download_cancel" :void
     (download webkit-download))
   (export 'webkit-download-cancel)
  
positive.code:   (uri :string))
  (export 'webkit-network-response-new)
  
  (defcfun "webkit_network_response_set_uri" :void
    (response webkit-network-response)
    (uri :string))
  
negative.code:   (download webkit-download))
  (export 'webkit-download-get-network-response)
  
  ;; The filename that was suggested by the server, or the one derived by WebKit from the URI.
  (defcfun "webkit_download_get_suggested_filename" :string
    (download webkit-download))
  (export 'webkit-download-get-suggested-filename)
  