Skip to content

Parsing received data #27

Open
Open

Description

@alandarev

Granted I want to use simple middleware to parse arguments submitted to the server.
Shall I use multipart example, or there is no appropriate example yet?

Activity

  1. Raynos commented on Dec 2, 2014

    @Raynos
    Owner

    If you want to parse the querystring then require('querystring').

    If you want to parse the body then require('body')

    If you want to handle people that POST actual files using <input type='file'> in the browser, use a multipart file parser.

  2. alandarev commented on Dec 3, 2014

    @alandarev
    Author

    Okay, then there is no module in http-framework dedicated to handling these already simple tasks? Got ya 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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