Summary

spiffy-request-vars: as-boolean enhancements

Metadata

Attachments

Description

The attached patch enhances as-boolean in two ways: It adds "true" to the default list of true-boolean-values and it considers the mere presence of the parameter as #t, i.e. a query string like "?foo" would bind foo to #t when it is cast as-boolean. This is consistent with uri-common's parsing behavior:

   (uri-query (uri-reference "?foo"))
   => 
   ((foo . #t))

Changes and comments

[2010-08-09 05:19:33 UTC] syn attached spiffy-request-vars-as-boolean.patch (description=#f)

[2010-08-10 14:51:55 UTC] mario changed status from new to closed

[2010-08-10 14:51:55 UTC] mario set resolution to fixed

[2010-08-10 14:51:55 UTC] mario wrote:

Applied, thanks. See spiffy-request-vars 0.11.

[2011-04-04 08:31:00 UTC] felix removed milestone 4.6.0

[2011-04-04 08:31:00 UTC] felix wrote:

Milestone 4.6.0 deleted