1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 06:20:23 +02:00
guile/module
Andy Wingo 990b11c53f Add http-post, http-put, et cetera
* module/web/client.scm (ensure-uri): New helper.
  (open-socket-for-uri): Accept a URI as a string or as a URI object.
  (extend-request, sanitize-request): New helpers, like the
  corresponding functions in (web server).
  (decode-response-body): Add a reference to the HTTP/1.1 spec, and
  use (ice-9 iconv).
  (request): New helper, factoring all aspects of sending an HTTP
  request and getting a response.
  (http-get): Redefine in terms of http-get.  Deprecate the
  #:extra-headers argument in favor of #:headers.  Allow a body.  Add a
  #:streaming? argument, subsuming the functionality of http-get*.
  (http-get*): Deprecate.
  (http-head, http-post, http-put, http-delete, http-trace)
  (http-options): Define interfaces for all HTTP verbs.

* test-suite/tests/web-client.test: Add tests.

* doc/ref/web.texi: Update documentation.

Thanks to Gregory Benison for the initial patch.
2013-01-11 15:40:00 +01:00
..
ice-9 add bytevector->string and string->bytevector in new (ice-9 iconv) module 2013-01-11 15:15:37 +01:00
language cse: Fix out-of-bounds access to the database. 2012-11-21 23:51:16 +01:00
oop fix goops compilation when current language is not scheme 2012-07-05 10:15:02 +02:00
rnrs R6RS `string-for-each' should accept multiple string arguments 2012-11-22 22:26:16 +01:00
scripts Fix a couple of warnings. 2012-01-26 00:37:23 +01:00
srfi doc: Fix typo in `set-record-type-printer!' doc. 2012-11-17 15:34:49 +01:00
sxml remove duplicate when/unless definitions 2012-01-20 21:16:50 +01:00
system More procedure-arguments-alist documentation and a bugfix 2013-01-07 22:02:26 +01:00
texinfo docbook->texi fix 2012-05-08 16:03:54 +02:00
web Add http-post, http-put, et cetera 2013-01-11 15:40:00 +01:00
Makefile.am add bytevector->string and string->bytevector in new (ice-9 iconv) module 2013-01-11 15:15:37 +01:00
rnrs.scm Add missing R6RS `open-file-input/output-port' procedure 2012-11-12 20:47:57 +01:00
statprof.scm add gcprof 2011-05-05 11:43:12 +02:00
texinfo.scm more robust texinfo alias handling 2012-08-25 14:11:45 +02:00