Server Test

Server Test

rev. 68328d957380de11b79ab4063ea76205e4a95390

Files changed:

tmp-codegen-diff/codegen-server-test/rest_json/rust-server-codegen/src/protocol_serde/shape_operation_with_nested_structure.rs

@@ -47,47 +107,107 @@
   67     67   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   68     68   
            builder,
   69     69   
            ::http_1x::header::CONTENT_TYPE,
   70     70   
            "application/json",
   71     71   
        );
   72     72   
        /* ServerHttpBoundProtocolGenerator.kt:732 */
   73     73   
        let http_status: u16 = 200;
   74     74   
        builder = builder.status(http_status);
   75     75   
        /* ServerHttpBoundProtocolGenerator.kt:611 */
   76     76   
        let payload =
   77         -
            /* HttpBoundProtocolPayloadGenerator.kt:235 */crate::protocol_serde::shape_operation_with_nested_structure_output::ser_operation_with_nested_structure_output_output_output(&output)?
          77  +
            /* HttpBoundProtocolPayloadGenerator.kt:240 */crate::protocol_serde::shape_operation_with_nested_structure_output::ser_operation_with_nested_structure_output_output_output(&output)?
   78     78   
        /* ServerHttpBoundProtocolGenerator.kt:611 */;
   79     79   
        /* ServerHttpBoundProtocolGenerator.kt:713 */
   80     80   
        let content_length = payload.len();
   81     81   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   82     82   
            builder,
   83     83   
            ::http_1x::header::CONTENT_LENGTH,
   84     84   
            content_length,
   85     85   
        );
   86     86   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
   87     87   
        let body = ::aws_smithy_http_server::body::to_boxed(payload);

tmp-codegen-diff/codegen-server-test/rest_json/rust-server-codegen/src/protocol_serde/shape_post_player_action.rs

@@ -50,50 +110,110 @@
   70     70   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   71     71   
            builder,
   72     72   
            ::http_1x::header::CONTENT_TYPE,
   73     73   
            "application/json",
   74     74   
        );
   75     75   
        /* ServerHttpBoundProtocolGenerator.kt:732 */
   76     76   
        let http_status: u16 = 200;
   77     77   
        builder = builder.status(http_status);
   78     78   
        /* ServerHttpBoundProtocolGenerator.kt:611 */
   79     79   
        let payload =
   80         -
            /* HttpBoundProtocolPayloadGenerator.kt:235 */crate::protocol_serde::shape_post_player_action_output::ser_post_player_action_output_output_output(&output)?
          80  +
            /* HttpBoundProtocolPayloadGenerator.kt:240 */crate::protocol_serde::shape_post_player_action_output::ser_post_player_action_output_output_output(&output)?
   81     81   
        /* ServerHttpBoundProtocolGenerator.kt:611 */;
   82     82   
        /* ServerHttpBoundProtocolGenerator.kt:713 */
   83     83   
        let content_length = payload.len();
   84     84   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   85     85   
            builder,
   86     86   
            ::http_1x::header::CONTENT_LENGTH,
   87     87   
            content_length,
   88     88   
        );
   89     89   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
   90     90   
        let body = ::aws_smithy_http_server::body::to_boxed(payload);

tmp-codegen-diff/codegen-server-test/rest_json/rust-server-codegen/src/protocol_serde/shape_post_union_with_json_name.rs

@@ -47,47 +107,107 @@
   67     67   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   68     68   
            builder,
   69     69   
            ::http_1x::header::CONTENT_TYPE,
   70     70   
            "application/json",
   71     71   
        );
   72     72   
        /* ServerHttpBoundProtocolGenerator.kt:732 */
   73     73   
        let http_status: u16 = 200;
   74     74   
        builder = builder.status(http_status);
   75     75   
        /* ServerHttpBoundProtocolGenerator.kt:611 */
   76     76   
        let payload =
   77         -
            /* HttpBoundProtocolPayloadGenerator.kt:235 */crate::protocol_serde::shape_post_union_with_json_name_output::ser_post_union_with_json_name_output_output_output(&output)?
          77  +
            /* HttpBoundProtocolPayloadGenerator.kt:240 */crate::protocol_serde::shape_post_union_with_json_name_output::ser_post_union_with_json_name_output_output_output(&output)?
   78     78   
        /* ServerHttpBoundProtocolGenerator.kt:611 */;
   79     79   
        /* ServerHttpBoundProtocolGenerator.kt:713 */
   80     80   
        let content_length = payload.len();
   81     81   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   82     82   
            builder,
   83     83   
            ::http_1x::header::CONTENT_LENGTH,
   84     84   
            content_length,
   85     85   
        );
   86     86   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
   87     87   
        let body = ::aws_smithy_http_server::body::to_boxed(payload);

tmp-codegen-diff/codegen-server-test/rest_json/rust-server-codegen/src/protocol_serde/shape_put_with_content_encoding.rs

@@ -55,55 +115,115 @@
   75     75   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   76     76   
            builder,
   77     77   
            ::http_1x::header::CONTENT_TYPE,
   78     78   
            "application/json",
   79     79   
        );
   80     80   
        /* ServerHttpBoundProtocolGenerator.kt:732 */
   81     81   
        let http_status: u16 = 200;
   82     82   
        builder = builder.status(http_status);
   83     83   
        /* ServerHttpBoundProtocolGenerator.kt:611 */
   84     84   
        let payload =
   85         -
            /* HttpBoundProtocolPayloadGenerator.kt:233 */""
          85  +
            /* HttpBoundProtocolPayloadGenerator.kt:238 */""
   86     86   
        /* ServerHttpBoundProtocolGenerator.kt:611 */;
   87     87   
        /* ServerHttpBoundProtocolGenerator.kt:713 */
   88     88   
        let content_length = payload.len();
   89     89   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   90     90   
            builder,
   91     91   
            ::http_1x::header::CONTENT_LENGTH,
   92     92   
            content_length,
   93     93   
        );
   94     94   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
   95     95   
        let body = ::aws_smithy_http_server::body::to_boxed(payload);

tmp-codegen-diff/codegen-server-test/rest_json/rust-server-codegen/src/protocol_serde/shape_query_idempotency_token_auto_fill.rs

@@ -50,50 +96,96 @@
   70     70   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   71     71   
            builder,
   72     72   
            ::http_1x::header::CONTENT_TYPE,
   73     73   
            "application/json",
   74     74   
        );
   75     75   
        /* ServerHttpBoundProtocolGenerator.kt:732 */
   76     76   
        let http_status: u16 = 200;
   77     77   
        builder = builder.status(http_status);
   78     78   
        /* ServerHttpBoundProtocolGenerator.kt:611 */
   79     79   
        let payload =
   80         -
            /* HttpBoundProtocolPayloadGenerator.kt:233 */""
          80  +
            /* HttpBoundProtocolPayloadGenerator.kt:238 */""
   81     81   
        /* ServerHttpBoundProtocolGenerator.kt:611 */;
   82     82   
        /* ServerHttpBoundProtocolGenerator.kt:713 */
   83     83   
        let content_length = payload.len();
   84     84   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   85     85   
            builder,
   86     86   
            ::http_1x::header::CONTENT_LENGTH,
   87     87   
            content_length,
   88     88   
        );
   89     89   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
   90     90   
        let body = ::aws_smithy_http_server::body::to_boxed(payload);

tmp-codegen-diff/codegen-server-test/rest_json/rust-server-codegen/src/protocol_serde/shape_query_params_as_string_list_map.rs

@@ -63,63 +109,109 @@
   83     83   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   84     84   
            builder,
   85     85   
            ::http_1x::header::CONTENT_TYPE,
   86     86   
            "application/json",
   87     87   
        );
   88     88   
        /* ServerHttpBoundProtocolGenerator.kt:732 */
   89     89   
        let http_status: u16 = 200;
   90     90   
        builder = builder.status(http_status);
   91     91   
        /* ServerHttpBoundProtocolGenerator.kt:611 */
   92     92   
        let payload =
   93         -
            /* HttpBoundProtocolPayloadGenerator.kt:233 */""
          93  +
            /* HttpBoundProtocolPayloadGenerator.kt:238 */""
   94     94   
        /* ServerHttpBoundProtocolGenerator.kt:611 */;
   95     95   
        /* ServerHttpBoundProtocolGenerator.kt:713 */
   96     96   
        let content_length = payload.len();
   97     97   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   98     98   
            builder,
   99     99   
            ::http_1x::header::CONTENT_LENGTH,
  100    100   
            content_length,
  101    101   
        );
  102    102   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
  103    103   
        let body = ::aws_smithy_http_server::body::to_boxed(payload);

tmp-codegen-diff/codegen-server-test/rest_json/rust-server-codegen/src/protocol_serde/shape_query_precedence.rs

@@ -64,64 +110,110 @@
   84     84   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   85     85   
            builder,
   86     86   
            ::http_1x::header::CONTENT_TYPE,
   87     87   
            "application/json",
   88     88   
        );
   89     89   
        /* ServerHttpBoundProtocolGenerator.kt:732 */
   90     90   
        let http_status: u16 = 200;
   91     91   
        builder = builder.status(http_status);
   92     92   
        /* ServerHttpBoundProtocolGenerator.kt:611 */
   93     93   
        let payload =
   94         -
            /* HttpBoundProtocolPayloadGenerator.kt:233 */""
          94  +
            /* HttpBoundProtocolPayloadGenerator.kt:238 */""
   95     95   
        /* ServerHttpBoundProtocolGenerator.kt:611 */;
   96     96   
        /* ServerHttpBoundProtocolGenerator.kt:713 */
   97     97   
        let content_length = payload.len();
   98     98   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   99     99   
            builder,
  100    100   
            ::http_1x::header::CONTENT_LENGTH,
  101    101   
            content_length,
  102    102   
        );
  103    103   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
  104    104   
        let body = ::aws_smithy_http_server::body::to_boxed(payload);

tmp-codegen-diff/codegen-server-test/rest_json/rust-server-codegen/src/protocol_serde/shape_recursive_shapes.rs

@@ -50,50 +110,110 @@
   70     70   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   71     71   
            builder,
   72     72   
            ::http_1x::header::CONTENT_TYPE,
   73     73   
            "application/json",
   74     74   
        );
   75     75   
        /* ServerHttpBoundProtocolGenerator.kt:732 */
   76     76   
        let http_status: u16 = 200;
   77     77   
        builder = builder.status(http_status);
   78     78   
        /* ServerHttpBoundProtocolGenerator.kt:611 */
   79     79   
        let payload =
   80         -
            /* HttpBoundProtocolPayloadGenerator.kt:235 */crate::protocol_serde::shape_recursive_shapes_output::ser_recursive_shapes_output_output_output(&output)?
          80  +
            /* HttpBoundProtocolPayloadGenerator.kt:240 */crate::protocol_serde::shape_recursive_shapes_output::ser_recursive_shapes_output_output_output(&output)?
   81     81   
        /* ServerHttpBoundProtocolGenerator.kt:611 */;
   82     82   
        /* ServerHttpBoundProtocolGenerator.kt:713 */
   83     83   
        let content_length = payload.len();
   84     84   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   85     85   
            builder,
   86     86   
            ::http_1x::header::CONTENT_LENGTH,
   87     87   
            content_length,
   88     88   
        );
   89     89   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
   90     90   
        let body = ::aws_smithy_http_server::body::to_boxed(payload);

tmp-codegen-diff/codegen-server-test/rest_json/rust-server-codegen/src/protocol_serde/shape_response_code_http_fallback.rs

@@ -32,32 +78,78 @@
   52     52   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   53     53   
            builder,
   54     54   
            ::http_1x::header::CONTENT_TYPE,
   55     55   
            "application/json",
   56     56   
        );
   57     57   
        /* ServerHttpBoundProtocolGenerator.kt:732 */
   58     58   
        let http_status: u16 = 201;
   59     59   
        builder = builder.status(http_status);
   60     60   
        /* ServerHttpBoundProtocolGenerator.kt:611 */
   61     61   
        let payload =
   62         -
            /* HttpBoundProtocolPayloadGenerator.kt:235 */crate::protocol_serde::shape_response_code_http_fallback_output::ser_response_code_http_fallback_output_output_output(&output)?
          62  +
            /* HttpBoundProtocolPayloadGenerator.kt:240 */crate::protocol_serde::shape_response_code_http_fallback_output::ser_response_code_http_fallback_output_output_output(&output)?
   63     63   
        /* ServerHttpBoundProtocolGenerator.kt:611 */;
   64     64   
        /* ServerHttpBoundProtocolGenerator.kt:713 */
   65     65   
        let content_length = payload.len();
   66     66   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   67     67   
            builder,
   68     68   
            ::http_1x::header::CONTENT_LENGTH,
   69     69   
            content_length,
   70     70   
        );
   71     71   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
   72     72   
        let body = ::aws_smithy_http_server::body::to_boxed(payload);

tmp-codegen-diff/codegen-server-test/rest_json/rust-server-codegen/src/protocol_serde/shape_response_code_required.rs

@@ -37,37 +83,83 @@
   57     57   
            "application/json",
   58     58   
        );
   59     59   
        /* ServerHttpBoundProtocolGenerator.kt:751 */
   60     60   
        let status = output.response_code
   61     61   
        /* ServerHttpBoundProtocolGenerator.kt:751 */;
   62     62   
        /* ServerHttpBoundProtocolGenerator.kt:756 */
   63     63   
        let http_status: u16 = status.try_into().map_err(::aws_smithy_http_server::protocol::rest_json_1::rejection::ResponseRejection::InvalidHttpStatusCode)?;
   64     64   
        builder = builder.status(http_status);
   65     65   
        /* ServerHttpBoundProtocolGenerator.kt:611 */
   66     66   
        let payload =
   67         -
            /* HttpBoundProtocolPayloadGenerator.kt:235 */crate::protocol_serde::shape_response_code_required_output::ser_response_code_required_output_output_output(&output)?
          67  +
            /* HttpBoundProtocolPayloadGenerator.kt:240 */crate::protocol_serde::shape_response_code_required_output::ser_response_code_required_output_output_output(&output)?
   68     68   
        /* ServerHttpBoundProtocolGenerator.kt:611 */;
   69     69   
        /* ServerHttpBoundProtocolGenerator.kt:713 */
   70     70   
        let content_length = payload.len();
   71     71   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   72     72   
            builder,
   73     73   
            ::http_1x::header::CONTENT_LENGTH,
   74     74   
            content_length,
   75     75   
        );
   76     76   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
   77     77   
        let body = ::aws_smithy_http_server::body::to_boxed(payload);

tmp-codegen-diff/codegen-server-test/rest_json/rust-server-codegen/src/protocol_serde/shape_simple_scalar_properties.rs

@@ -59,59 +119,119 @@
   79     79   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   80     80   
            builder,
   81     81   
            ::http_1x::header::CONTENT_TYPE,
   82     82   
            "application/json",
   83     83   
        );
   84     84   
        /* ServerHttpBoundProtocolGenerator.kt:732 */
   85     85   
        let http_status: u16 = 200;
   86     86   
        builder = builder.status(http_status);
   87     87   
        /* ServerHttpBoundProtocolGenerator.kt:611 */
   88     88   
        let payload =
   89         -
            /* HttpBoundProtocolPayloadGenerator.kt:235 */crate::protocol_serde::shape_simple_scalar_properties_output::ser_simple_scalar_properties_output_output_output(&output)?
          89  +
            /* HttpBoundProtocolPayloadGenerator.kt:240 */crate::protocol_serde::shape_simple_scalar_properties_output::ser_simple_scalar_properties_output_output_output(&output)?
   90     90   
        /* ServerHttpBoundProtocolGenerator.kt:611 */;
   91     91   
        /* ServerHttpBoundProtocolGenerator.kt:713 */
   92     92   
        let content_length = payload.len();
   93     93   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   94     94   
            builder,
   95     95   
            ::http_1x::header::CONTENT_LENGTH,
   96     96   
            content_length,
   97     97   
        );
   98     98   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
   99     99   
        let body = ::aws_smithy_http_server::body::to_boxed(payload);

tmp-codegen-diff/codegen-server-test/rest_json/rust-server-codegen/src/protocol_serde/shape_sparse_json_lists.rs

@@ -50,50 +110,110 @@
   70     70   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   71     71   
            builder,
   72     72   
            ::http_1x::header::CONTENT_TYPE,
   73     73   
            "application/json",
   74     74   
        );
   75     75   
        /* ServerHttpBoundProtocolGenerator.kt:732 */
   76     76   
        let http_status: u16 = 200;
   77     77   
        builder = builder.status(http_status);
   78     78   
        /* ServerHttpBoundProtocolGenerator.kt:611 */
   79     79   
        let payload =
   80         -
            /* HttpBoundProtocolPayloadGenerator.kt:235 */crate::protocol_serde::shape_sparse_json_lists_output::ser_sparse_json_lists_output_output_output(&output)?
          80  +
            /* HttpBoundProtocolPayloadGenerator.kt:240 */crate::protocol_serde::shape_sparse_json_lists_output::ser_sparse_json_lists_output_output_output(&output)?
   81     81   
        /* ServerHttpBoundProtocolGenerator.kt:611 */;
   82     82   
        /* ServerHttpBoundProtocolGenerator.kt:713 */
   83     83   
        let content_length = payload.len();
   84     84   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   85     85   
            builder,
   86     86   
            ::http_1x::header::CONTENT_LENGTH,
   87     87   
            content_length,
   88     88   
        );
   89     89   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
   90     90   
        let body = ::aws_smithy_http_server::body::to_boxed(payload);

tmp-codegen-diff/codegen-server-test/rest_json/rust-server-codegen/src/protocol_serde/shape_sparse_json_maps.rs

@@ -50,50 +110,110 @@
   70     70   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   71     71   
            builder,
   72     72   
            ::http_1x::header::CONTENT_TYPE,
   73     73   
            "application/json",
   74     74   
        );
   75     75   
        /* ServerHttpBoundProtocolGenerator.kt:732 */
   76     76   
        let http_status: u16 = 200;
   77     77   
        builder = builder.status(http_status);
   78     78   
        /* ServerHttpBoundProtocolGenerator.kt:611 */
   79     79   
        let payload =
   80         -
            /* HttpBoundProtocolPayloadGenerator.kt:235 */crate::protocol_serde::shape_sparse_json_maps_output::ser_sparse_json_maps_output_output_output(&output)?
          80  +
            /* HttpBoundProtocolPayloadGenerator.kt:240 */crate::protocol_serde::shape_sparse_json_maps_output::ser_sparse_json_maps_output_output_output(&output)?
   81     81   
        /* ServerHttpBoundProtocolGenerator.kt:611 */;
   82     82   
        /* ServerHttpBoundProtocolGenerator.kt:713 */
   83     83   
        let content_length = payload.len();
   84     84   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   85     85   
            builder,
   86     86   
            ::http_1x::header::CONTENT_LENGTH,
   87     87   
            content_length,
   88     88   
        );
   89     89   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
   90     90   
        let body = ::aws_smithy_http_server::body::to_boxed(payload);

tmp-codegen-diff/codegen-server-test/rest_json/rust-server-codegen/src/protocol_serde/shape_streaming_traits.rs

@@ -61,61 +121,121 @@
   81     81   
            "application/octet-stream",
   82     82   
        );
   83     83   
        /* ServerHttpBoundProtocolGenerator.kt:732 */
   84     84   
        let http_status: u16 = 200;
   85     85   
        builder = builder.status(http_status);
   86     86   
        /* ServerHttpBoundProtocolGenerator.kt:589 */
   87     87   
        let body =
   88     88   
            ::aws_smithy_http_server::body::boxed(::aws_smithy_http_server::body::wrap_stream(
   89     89   
                /* ServerProtocolLoader.kt:42 */
   90     90   
                ::aws_smithy_http::futures_stream_adapter::FuturesStreamCompatByteStream::new(
   91         -
                    /* HttpBoundProtocolPayloadGenerator.kt:348 */
          91  +
                    /* HttpBoundProtocolPayloadGenerator.kt:353 */
   92     92   
                    crate::protocol_serde::shape_streaming_traits_output::ser_blob_http_payload(
   93     93   
                        output.blob,
   94     94   
                    )?, /* ServerProtocolLoader.kt:42 */
   95     95   
                ), /* ServerHttpBoundProtocolGenerator.kt:589 */
   96     96   
            ));
   97     97   
        /* ServerHttpBoundProtocolGenerator.kt:625 */
   98     98   
        builder.body(body)?
   99     99   
        /* ServerHttpBoundProtocolGenerator.kt:461 */
  100    100   
    })
  101    101   
    /* ServerHttpBoundProtocolGenerator.kt:449 */

tmp-codegen-diff/codegen-server-test/rest_json/rust-server-codegen/src/protocol_serde/shape_streaming_traits_output.rs

@@ -1,1 +15,15 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
/* HttpBoundProtocolPayloadGenerator.kt:309 */
           2  +
/* HttpBoundProtocolPayloadGenerator.kt:314 */
    3      3   
pub fn ser_blob_http_payload(
    4      4   
    payload: ::aws_smithy_types::byte_stream::ByteStream,
    5      5   
) -> ::std::result::Result<
    6      6   
    ::aws_smithy_types::byte_stream::ByteStream,
    7      7   
    ::aws_smithy_types::error::operation::BuildError,
    8      8   
> {
    9         -
    /* HttpBoundProtocolPayloadGenerator.kt:343 */
           9  +
    /* HttpBoundProtocolPayloadGenerator.kt:348 */
   10     10   
    Ok(
   11         -
        /* HttpBoundProtocolPayloadGenerator.kt:372 */
   12         -
        payload, /* HttpBoundProtocolPayloadGenerator.kt:343 */
          11  +
        /* HttpBoundProtocolPayloadGenerator.kt:377 */
          12  +
        payload, /* HttpBoundProtocolPayloadGenerator.kt:348 */
   13     13   
    )
   14         -
    /* HttpBoundProtocolPayloadGenerator.kt:309 */
          14  +
    /* HttpBoundProtocolPayloadGenerator.kt:314 */
   15     15   
}

tmp-codegen-diff/codegen-server-test/rest_json/rust-server-codegen/src/protocol_serde/shape_streaming_traits_require_length.rs

@@ -52,52 +98,98 @@
   72     72   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   73     73   
            builder,
   74     74   
            ::http_1x::header::CONTENT_TYPE,
   75     75   
            "application/json",
   76     76   
        );
   77     77   
        /* ServerHttpBoundProtocolGenerator.kt:732 */
   78     78   
        let http_status: u16 = 200;
   79     79   
        builder = builder.status(http_status);
   80     80   
        /* ServerHttpBoundProtocolGenerator.kt:611 */
   81     81   
        let payload =
   82         -
            /* HttpBoundProtocolPayloadGenerator.kt:233 */""
          82  +
            /* HttpBoundProtocolPayloadGenerator.kt:238 */""
   83     83   
        /* ServerHttpBoundProtocolGenerator.kt:611 */;
   84     84   
        /* ServerHttpBoundProtocolGenerator.kt:713 */
   85     85   
        let content_length = payload.len();
   86     86   
        builder = ::aws_smithy_http::header::set_response_header_if_absent(
   87     87   
            builder,
   88     88   
            ::http_1x::header::CONTENT_LENGTH,
   89     89   
            content_length,
   90     90   
        );
   91     91   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
   92     92   
        let body = ::aws_smithy_http_server::body::to_boxed(payload);