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

Request Compression #144

Merged
merged 36 commits into from
Jul 21, 2023
Merged

Request Compression #144

merged 36 commits into from
Jul 21, 2023

Conversation

jterapin
Copy link
Contributor

Description of changes:
Implementing Compression middleware - a middleware that compresses the request body and adds the Content-Encoding header

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link
Contributor

@alextwoods alextwoods left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good so far!

@jterapin
Copy link
Contributor Author

jterapin commented Jul 12, 2023

I'm failing the Hearth CI / rubocop check since line 20 on request_compression.rb is just two characters extra long. I don't think I can change the config names as it is strictly outlined in the Smithy Docs. Am I able to exclude this specific file under rubocop's Layout/LineLength? LMK your thoughts. Thanks in advance for looking into the structure! 😄

@alextwoods
Copy link
Contributor

You can either rename the internal variable to be shorter or split the line after =

Copy link
Contributor

@mullermp mullermp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good so far.

Copy link
Contributor

@alextwoods alextwoods left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice - Looks good!!

@jterapin jterapin marked this pull request as ready for review July 21, 2023 19:00
@jterapin jterapin requested a review from mullermp July 21, 2023 19:00
@jterapin jterapin merged commit 976e262 into main Jul 21, 2023
@jterapin jterapin deleted the request_compression branch July 21, 2023 23:06
mullermp added a commit that referenced this pull request Jul 24, 2023
commit 976e262
Author: Juli Tera <57973151+jterapin@users.noreply.github.com>
Date:   Fri Jul 21 19:06:23 2023 -0400

    Add Request Compression support (#144)

commit 289f04c
Author: Alex Woods <alexwoo@amazon.com>
Date:   Thu Jul 20 11:25:26 2023 -0700

    Fix bug in RubyDirectedCodegen that causes errors module to not be generated when no modeled errors on model.

commit 8573788
Author: Alex Woods <alexwoo@amazon.com>
Date:   Tue Jul 18 10:18:54 2023 -0700

    Cleanup rails-json httpPayloadMember

commit 7309629
Author: Matt Muller <53055821+mullermp@users.noreply.github.com>
Date:   Mon Jul 17 13:18:00 2023 -0400

    Add validation to Config and Params (#145)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants