• Places
    • Home
    • Graphs
    • Prefixes
  • Admin
    • Users
    • Settings
    • Plugins
    • Statistics
  • Repository
    • Load local file
    • Load from HTTP
    • Load from library
    • Remove triples
    • Clear repository
  • Query
    • YASGUI SPARQL Editor
    • Simple Form
    • SWISH Prolog shell
  • Help
    • Documentation
    • Tutorial
    • Roadmap
    • HTTP Services
  • Login

/home/vdeboer/src/ClioPatria/ClioPatria/lib/http/url_cache.pl
AllApplicationManualNameSummaryHelp

  • lib
    • http
      • yui_resources.pl -- Define HTML resources (scripts and CSS files)
      • http_request_value.pl -- Analyse values from HTTP request fields
      • cp_jquery.pl
      • url_cache.pl -- Cache the content of external URLs in local files
        • url_cache/3
        • url_cache_delete/1
        • url_cache_reset_server_status/0
        • url_cache_reset_server_status/1
        • url_cache_file/4
        • url_cached/2
        • url_cached/3
 url_cache(+URI:atom, -Path:atom, -MimeType:atom) is det
Return the content of URI in a file at Path. MimeType is the Mime-type returned by the server.
Errors
- existence_error(url, URL) Server did not respond with 200 OK
- existence_error(source_sink, url_cache(.)) Cache directory does not exist
bug
- Does not check modification time and cache validity
ClioPatria (version V3.1.1-21-gb8003bb)