Skip to content

Strange thing with connect 0.5.8 (it still works, this is just for information) #1

@SiegfriedEhret

Description

@SiegfriedEhret

I just updated to connect 0.5.8 and got a message '/connect/middleware/bodyDecoder' not found.

I changed the declaration to :
require('connect').middleware.bodyDecoder.decode['application/x-www-form-urlencoded'] = require('form2json@0.0.2').decode;

And it works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions