Skip to content

move away from x-package-json header #2

@bmeck

Description

@bmeck

We really do not want to store extra state information across requests, right now we get around this by shoe horning package.json info into a header.

  1. Problems

We send multiple things at inopportune times if we want to keep to Stateless based HTTP.

We want to:

  • Send Multiple Files

Multipart/form-data could take care of this but node-formidable is lacking when uploading multiple files at once.

  • Stream back relevant information before determining the status code

NPM Logs

  1. Solution

Unfortunately we need a duplex solution. That means WS://

  • Implement a simple multiplexing protocol, nssocket would not work due to the bloat of sending JSON

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions