# packages-http **Repository Path**: mirrors_sailfishos-mirror/packages-http ## Basic Information - **Project Name**: packages-http - **Description**: https://github.com/SWI-Prolog/packages-http.git - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2025-10-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # SWI-Prolog HTTP support library This directory provides the SWI-Prolog libraries for accessing and providing HTTP services. ## Client library The main client library is `library(http/http_open)`, which can open both HTTP and HTTPS connections and handle all request methods. ## Server library The main server libraries are - `library(http/thread_httpd)` implements the server - `library(http/http_dispatch)` implements binding locations predicates - `library(http/http_unix_daemon)` implements integration in various Unix server managers and in general provides a suitable entry point for HTTP servers on Unix. - `library(http/html_write)` implements generating HTML - `library(http/http_json)` implements reading and writing JSON documents. For simplicity, you can use `library(http/http_server)`, which combines the typical HTTP libraries that most servers need. The idea of a common request handling system and three controlling libraries is outdated; the threaded server now being the only sensible controlling library. # Requirements This library uses functionality from the `ssl` package to support HTTPS, the `sgml` package to read XML/HTML and the `clib` package for various extensions.