Server Test

Server Test

rev. 2613e17baabf9f07b5b1870ece26ed14bd4a641b

Files changed:

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

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

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

@@ -47,47 +107,107 @@
   67     67   
        builder = ::aws_smithy_legacy_http::header::set_response_header_if_absent(
   68     68   
            builder,
   69     69   
            ::http::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:233 */""
          77  +
            /* HttpBoundProtocolPayloadGenerator.kt:238 */""
   78     78   
        /* ServerHttpBoundProtocolGenerator.kt:611 */;
   79     79   
        /* ServerHttpBoundProtocolGenerator.kt:713 */
   80     80   
        let content_length = payload.len();
   81     81   
        builder = ::aws_smithy_legacy_http::header::set_response_header_if_absent(
   82     82   
            builder,
   83     83   
            ::http::header::CONTENT_LENGTH,
   84     84   
            content_length,
   85     85   
        );
   86     86   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
   87     87   
        let body = ::aws_smithy_legacy_http_server::body::to_boxed(payload);

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

@@ -42,42 +102,102 @@
   62     62   
        builder = ::aws_smithy_legacy_http::header::set_response_header_if_absent(
   63     63   
            builder,
   64     64   
            ::http::header::CONTENT_TYPE,
   65     65   
            "application/json",
   66     66   
        );
   67     67   
        /* ServerHttpBoundProtocolGenerator.kt:732 */
   68     68   
        let http_status: u16 = 200;
   69     69   
        builder = builder.status(http_status);
   70     70   
        /* ServerHttpBoundProtocolGenerator.kt:611 */
   71     71   
        let payload =
   72         -
            /* HttpBoundProtocolPayloadGenerator.kt:235 */crate::protocol_serde::shape_media_type_header_output::ser_media_type_header_output_output_output(&output)?
          72  +
            /* HttpBoundProtocolPayloadGenerator.kt:240 */crate::protocol_serde::shape_media_type_header_output::ser_media_type_header_output_output_output(&output)?
   73     73   
        /* ServerHttpBoundProtocolGenerator.kt:611 */;
   74     74   
        /* ServerHttpBoundProtocolGenerator.kt:713 */
   75     75   
        let content_length = payload.len();
   76     76   
        builder = ::aws_smithy_legacy_http::header::set_response_header_if_absent(
   77     77   
            builder,
   78     78   
            ::http::header::CONTENT_LENGTH,
   79     79   
            content_length,
   80     80   
        );
   81     81   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
   82     82   
        let body = ::aws_smithy_legacy_http_server::body::to_boxed(payload);

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

@@ -36,36 +82,82 @@
   56     56   
        builder = ::aws_smithy_legacy_http::header::set_response_header_if_absent(
   57     57   
            builder,
   58     58   
            ::http::header::CONTENT_TYPE,
   59     59   
            "application/json",
   60     60   
        );
   61     61   
        /* ServerHttpBoundProtocolGenerator.kt:732 */
   62     62   
        let http_status: u16 = 200;
   63     63   
        builder = builder.status(http_status);
   64     64   
        /* ServerHttpBoundProtocolGenerator.kt:611 */
   65     65   
        let payload =
   66         -
            /* HttpBoundProtocolPayloadGenerator.kt:233 */""
          66  +
            /* HttpBoundProtocolPayloadGenerator.kt:238 */""
   67     67   
        /* ServerHttpBoundProtocolGenerator.kt:611 */;
   68     68   
        /* ServerHttpBoundProtocolGenerator.kt:713 */
   69     69   
        let content_length = payload.len();
   70     70   
        builder = ::aws_smithy_legacy_http::header::set_response_header_if_absent(
   71     71   
            builder,
   72     72   
            ::http::header::CONTENT_LENGTH,
   73     73   
            content_length,
   74     74   
        );
   75     75   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
   76     76   
        let body = ::aws_smithy_legacy_http_server::body::to_boxed(payload);

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

@@ -36,36 +82,82 @@
   56     56   
        builder = ::aws_smithy_legacy_http::header::set_response_header_if_absent(
   57     57   
            builder,
   58     58   
            ::http::header::CONTENT_TYPE,
   59     59   
            "application/json",
   60     60   
        );
   61     61   
        /* ServerHttpBoundProtocolGenerator.kt:732 */
   62     62   
        let http_status: u16 = 200;
   63     63   
        builder = builder.status(http_status);
   64     64   
        /* ServerHttpBoundProtocolGenerator.kt:611 */
   65     65   
        let payload =
   66         -
            /* HttpBoundProtocolPayloadGenerator.kt:235 */crate::protocol_serde::shape_no_input_and_output_output::ser_no_input_and_output_output_output_output(&output)?
          66  +
            /* HttpBoundProtocolPayloadGenerator.kt:240 */crate::protocol_serde::shape_no_input_and_output_output::ser_no_input_and_output_output_output_output(&output)?
   67     67   
        /* ServerHttpBoundProtocolGenerator.kt:611 */;
   68     68   
        /* ServerHttpBoundProtocolGenerator.kt:713 */
   69     69   
        let content_length = payload.len();
   70     70   
        builder = ::aws_smithy_legacy_http::header::set_response_header_if_absent(
   71     71   
            builder,
   72     72   
            ::http::header::CONTENT_LENGTH,
   73     73   
            content_length,
   74     74   
        );
   75     75   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
   76     76   
        let body = ::aws_smithy_legacy_http_server::body::to_boxed(payload);

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

@@ -52,52 +112,112 @@
   72     72   
        builder = ::aws_smithy_legacy_http::header::set_response_header_if_absent(
   73     73   
            builder,
   74     74   
            ::http::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:235 */crate::protocol_serde::shape_null_and_empty_headers_client_output::ser_null_and_empty_headers_client_output_output_output(&output)?
          82  +
            /* HttpBoundProtocolPayloadGenerator.kt:240 */crate::protocol_serde::shape_null_and_empty_headers_client_output::ser_null_and_empty_headers_client_output_output_output(&output)?
   83     83   
        /* ServerHttpBoundProtocolGenerator.kt:611 */;
   84     84   
        /* ServerHttpBoundProtocolGenerator.kt:713 */
   85     85   
        let content_length = payload.len();
   86     86   
        builder = ::aws_smithy_legacy_http::header::set_response_header_if_absent(
   87     87   
            builder,
   88     88   
            ::http::header::CONTENT_LENGTH,
   89     89   
            content_length,
   90     90   
        );
   91     91   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
   92     92   
        let body = ::aws_smithy_legacy_http_server::body::to_boxed(payload);

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

@@ -52,52 +112,112 @@
   72     72   
        builder = ::aws_smithy_legacy_http::header::set_response_header_if_absent(
   73     73   
            builder,
   74     74   
            ::http::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:235 */crate::protocol_serde::shape_null_and_empty_headers_server_output::ser_null_and_empty_headers_server_output_output_output(&output)?
          82  +
            /* HttpBoundProtocolPayloadGenerator.kt:240 */crate::protocol_serde::shape_null_and_empty_headers_server_output::ser_null_and_empty_headers_server_output_output_output(&output)?
   83     83   
        /* ServerHttpBoundProtocolGenerator.kt:611 */;
   84     84   
        /* ServerHttpBoundProtocolGenerator.kt:713 */
   85     85   
        let content_length = payload.len();
   86     86   
        builder = ::aws_smithy_legacy_http::header::set_response_header_if_absent(
   87     87   
            builder,
   88     88   
            ::http::header::CONTENT_LENGTH,
   89     89   
            content_length,
   90     90   
        );
   91     91   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
   92     92   
        let body = ::aws_smithy_legacy_http_server::body::to_boxed(payload);

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

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

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

@@ -197,197 +257,257 @@
  217    217   
        builder = ::aws_smithy_legacy_http::header::set_response_header_if_absent(
  218    218   
            builder,
  219    219   
            ::http::header::CONTENT_TYPE,
  220    220   
            "application/json",
  221    221   
        );
  222    222   
        /* ServerHttpBoundProtocolGenerator.kt:732 */
  223    223   
        let http_status: u16 = 200;
  224    224   
        builder = builder.status(http_status);
  225    225   
        /* ServerHttpBoundProtocolGenerator.kt:611 */
  226    226   
        let payload =
  227         -
            /* HttpBoundProtocolPayloadGenerator.kt:233 */""
         227  +
            /* HttpBoundProtocolPayloadGenerator.kt:238 */""
  228    228   
        /* ServerHttpBoundProtocolGenerator.kt:611 */;
  229    229   
        /* ServerHttpBoundProtocolGenerator.kt:713 */
  230    230   
        let content_length = payload.len();
  231    231   
        builder = ::aws_smithy_legacy_http::header::set_response_header_if_absent(
  232    232   
            builder,
  233    233   
            ::http::header::CONTENT_LENGTH,
  234    234   
            content_length,
  235    235   
        );
  236    236   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
  237    237   
        let body = ::aws_smithy_legacy_http_server::body::to_boxed(payload);

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

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

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

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

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

@@ -47,47 +107,107 @@
   67     67   
        builder = ::aws_smithy_legacy_http::header::set_response_header_if_absent(
   68     68   
            builder,
   69     69   
            ::http::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_player_action_output::ser_post_player_action_output_output_output(&output)?
          77  +
            /* HttpBoundProtocolPayloadGenerator.kt:240 */crate::protocol_serde::shape_post_player_action_output::ser_post_player_action_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_legacy_http::header::set_response_header_if_absent(
   82     82   
            builder,
   83     83   
            ::http::header::CONTENT_LENGTH,
   84     84   
            content_length,
   85     85   
        );
   86     86   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
   87     87   
        let body = ::aws_smithy_legacy_http_server::body::to_boxed(payload);

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

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

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

@@ -52,52 +112,112 @@
   72     72   
        builder = ::aws_smithy_legacy_http::header::set_response_header_if_absent(
   73     73   
            builder,
   74     74   
            ::http::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_legacy_http::header::set_response_header_if_absent(
   87     87   
            builder,
   88     88   
            ::http::header::CONTENT_LENGTH,
   89     89   
            content_length,
   90     90   
        );
   91     91   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
   92     92   
        let body = ::aws_smithy_legacy_http_server::body::to_boxed(payload);

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

@@ -50,50 +96,96 @@
   70     70   
        builder = ::aws_smithy_legacy_http::header::set_response_header_if_absent(
   71     71   
            builder,
   72     72   
            ::http::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_legacy_http::header::set_response_header_if_absent(
   85     85   
            builder,
   86     86   
            ::http::header::CONTENT_LENGTH,
   87     87   
            content_length,
   88     88   
        );
   89     89   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
   90     90   
        let body = ::aws_smithy_legacy_http_server::body::to_boxed(payload);

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

@@ -63,63 +109,109 @@
   83     83   
        builder = ::aws_smithy_legacy_http::header::set_response_header_if_absent(
   84     84   
            builder,
   85     85   
            ::http::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_legacy_http::header::set_response_header_if_absent(
   98     98   
            builder,
   99     99   
            ::http::header::CONTENT_LENGTH,
  100    100   
            content_length,
  101    101   
        );
  102    102   
        /* ServerHttpBoundProtocolGenerator.kt:617 */
  103    103   
        let body = ::aws_smithy_legacy_http_server::body::to_boxed(payload);