Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

codegen: Update REST streaming request payload content-type usage #367

Merged
merged 2 commits into from Jun 28, 2022

Commits on Jun 24, 2022

  1. codegen: Update REST streaming request payload content-type usage

    Updates the SDK's codegen for REST HTTP request payload to always
    include content-type header for operations with streaming request
    payloads. Prior the content-type header would only be added if the
    streaming request io.Reader was not nil.
    jasdel committed Jun 24, 2022
    Configuration menu
    Copy the full SHA
    562189a View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2022

  1. transport/http: Add utility for setting content-type metadata

    Adds a helper utility for setting if the content-type was automatically
    assigned by the operation serializer or not. Used by behavior that needs
    to know if an explicit or default value was provided for the
    content-type header.
    jasdel committed Jun 27, 2022
    Configuration menu
    Copy the full SHA
    996fd06 View commit details
    Browse the repository at this point in the history