Skip to content

Specify the media type expected by the server #1

@ghost

Description

How would you specify the media type accepted by the server for a particular form?
Two possibilities I can think of:

  • mimic HTML and use an enctype field
  • mirror content negotiation and use an accept field. In this case that would mean what the server accepts as the body of the request.

While the latter seems more elegant, it might be confusing. Using the familiar enctype name might be more pragmatic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions