Skip to content

Describe the HTTP like syntax #1

@xaviervia

Description

@xaviervia

As described:


HTTP-like notation

This notation is not normative and may not be supported in actual implementations.

JSTP Dispatches can also be represented in a similar fashion to HTTP Requests. In this notation, the first line is composed by the JSTP Method followed by the JSTP Resource and the Protocol declaration. Further lines should be for each Header in its plain form followed TODO

A JSTP Dispatch may be represented in the HTTP-like notation like this:

GET foods/pizza JSTP/0.4
host: pizza.com.ar:8000:ws
timestamp: 1365647440759
token: 3434h5098asr34h3/2345-st3452sdt4354

message: Let the cheese melt!

This notation may be used for clarity since raw JSON can be messy. It can be used, for example, in log files.

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