Sha256: 20c13876b780ef11ff76ffd8a22f66700bd2a316dfb8b8937f07fd150eb3e678
Contents?: true
Size: 397 Bytes
Versions: 26
Compression:
Stored size: 397 Bytes
Contents
## Body Decoder The _bodyDecoder_ middleware sniffs the _Content-Type_ header, and decodes the request body appropriately. Supported by default are the _application/x-www-form-urlencoded_, and _application/json_ content types. To extend simply: require('connect/filters/body-decoder').decode['some-mime/type'] = function(str){ return 'whatever'; }; ### See Also * methodOverride
Version data entries
26 entries across 26 versions & 1 rubygems