Skip to content
Snippets Groups Projects
Select Git revision
  • release-2025-05-15-with-patches protected
  • main default protected
  • release-2025-03-27-with-patches protected
  • release-2024-12-30-with-client-builder protected
  • release-2024-12-26-with-client-builder protected
  • release-2024-11-05-with-client-builder protected
  • release-2024-08-16-with-client-builder protected
  • release-2024-09-09-with-client-builder protected
  • release-2024-08-28-with-client-builder protected
  • release-2024-10-09-with-client-builder protected
  • sbuttgereit/expose_client_builder_with_hyper_1_0
  • release-2025-05-15
  • release-2025-05-09
  • release-2025-05-02
  • release-2025-04-23
  • release-2025-03-27
  • release-2025-03-25
  • release-2025-03-10
  • release-2025-03-04
  • release-2025-02-20
  • release-2025-02-12
  • release-2025-02-03
  • release-2025-01-28
  • release-2025-01-23
  • release-2025-01-17
  • release-2025-01-14
  • release-2024-12-30
  • release-2024-12-26
  • release-2024-12-16
  • release-2024-12-03
  • release-2024-11-05
31 results

smithy-rs

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    david-perez authored
    This commit adds support for the `httpHeaders` and `httpPrefixHeaders`
    when applied to error shapes and operation output shapes to the server
    implementation.
    
    The presence of response headers is now asserted against in server
    protocol tests.
    
    Functions that set headers in requests that were used by the client have
    been refactored into `HttpBindingGenerator.kt`, since they are useful
    for the server to set headers in responses.
    
    This commit also makes error shapes be serialized in JSON responses with
    a `__type` field in the body, in favor of setting the `X-Amzn-Errortype`
    header, as recommended by the specs of all AWS protocols.
    
    This commit also removes the generation of operation structs for the
    server in `ProtocolGenerator.kt`, since they are not useful for the
    server implementation.
    
    Closes #1071 #1075.
    8676219e
    History
    Name Last commit Last update