1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 19:50:24 +02:00

add http/1.1 transfer codings to the NEWS

* doc/ref/web.texi (Transfer Codings): Add a note about modules.
* NEWS: Add NEWS for transfer codings.
This commit is contained in:
Andy Wingo 2012-07-06 22:24:25 +02:00
parent 64ead01db7
commit 32299e49e8
2 changed files with 13 additions and 1 deletions

8
NEWS
View file

@ -84,6 +84,10 @@ SMOB that was actually applied. (There was a weak-key map from SMOB to
trampoline functions, where the value had a strong reference on the trampoline functions, where the value had a strong reference on the
key.) This has been fixed. There was much rejoicing! key.) This has been fixed. There was much rejoicing!
** Support for HTTP/1.1 chunked transfer coding
See "Transfer Codings" in the manual, for more.
** Micro-optimizations ** Micro-optimizations
A pile of micro-optimizations: the `string-trim' function when called A pile of micro-optimizations: the `string-trim' function when called
@ -107,7 +111,7 @@ with regards to formal parameters of functions. Thanks to Bake Timmons.
* New interfaces * New interfaces
** New C function: `scm_to_pointer' ** New C function: `scm_to_pointer'
** New C functions: `scm_new_smob', `scm_new_double_smob' ** New C inline functions: `scm_new_smob', `scm_new_double_smob'
** (ice-9 format): Add ~h specifier for localized number output. ** (ice-9 format): Add ~h specifier for localized number output.
** (web response): New procedure: `response-must-not-include-body?' ** (web response): New procedure: `response-must-not-include-body?'
** New predicate: 'supports-source-properties?' ** New predicate: 'supports-source-properties?'
@ -116,6 +120,8 @@ with regards to formal parameters of functions. Thanks to Bake Timmons.
** (language tree-il): New functions: `tree-il=?', `tree-il-hash' ** (language tree-il): New functions: `tree-il=?', `tree-il-hash'
** New fluid: `%default-port-conversion-strategy' ** New fluid: `%default-port-conversion-strategy'
** New syntax: `=>' within `case' ** New syntax: `=>' within `case'
** (web http): `make-chunked-input-port', `make-chunked-output-port'
** (web http): `declare-opaque-header!'
Search the manual for these identifiers, for more information. Search the manual for these identifiers, for more information.

View file

@ -1042,6 +1042,12 @@ In order to make dealing with encodings more simple, guile provides
procedures to create ports that ``wrap'' existing ports, applying procedures to create ports that ``wrap'' existing ports, applying
transformations transparently under the hood. transformations transparently under the hood.
These procedures are in the @code{(web http)} module.
@example
(use-modules (web http))
@end example
@deffn {Scheme Procedure} make-chunked-input-port port [#:keep-alive?=#f] @deffn {Scheme Procedure} make-chunked-input-port port [#:keep-alive?=#f]
Returns a new port, that transparently reads and decodes chunk-encoded Returns a new port, that transparently reads and decodes chunk-encoded
data from @var{port}. If no more chunk-encoded data is available, it data from @var{port}. If no more chunk-encoded data is available, it