Did you know ...
Search Documentation:
Pack web -- prolog/web/response.pl
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
IRC
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
exists
(-Response:response)
is
det
Unifies
Response
with an empty response term.
exists
(-Response:response, +Attributes:list(pair))
is
det
Unifies
Response
with a fresh response term that has the given named
Attributes
.
well_formed
(+Response)
is
semidet
True if
Response
is a proper response term.
body
(+Response:response, -Stream:stream)
is
det
body
(?Response:response, +Stream:stream)
is
semidet
True if
Response
body can be read from
Stream
.
content_type
(+Response:response, -ContentType:atom)
is
det
content_type
(?Response:response, +ContentType:atom)
is
semidet
True if
Response
includes a Content-Type header whose value is
ContentType
.
status_code
(+Response:response, -Code:integer)
is
det
status_code
(?Response:response, +Code:integer)
is
semidet
True if
Response
has the HTTP status
Code
.