Skip to content

Conversation

@Ant-hem
Copy link
Member

@Ant-hem Ant-hem commented Jul 2, 2019

Q A
Bug fix? no
New feature? yes
BC breaks? no
Related Issue Fix #621
Need Doc update yes

Copy link

@aseure aseure left a comment

Choose a reason for hiding this comment

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

Perhaps we had the discussion just after this PR but could we change this implementation for the enum version of it? Not a GzipEnabled boolean but rather a Compression.{None,GZIP} enum-like one?

@Ant-hem
Copy link
Member Author

Ant-hem commented Jul 5, 2019

Perhaps we had the discussion just after this PR but could we change this implementation for the enum version of it? Not a GzipEnabled boolean but rather a Compression.{None,GZIP} enum-like one?

Yes definitely! I did it for Java, will do for C# now :) This proposition was the first draft.

@Ant-hem
Copy link
Member Author

Ant-hem commented Jul 8, 2019

@aseure updated with e5237a4.

@Ant-hem Ant-hem force-pushed the feat/gzip branch 2 times, most recently from e5237a4 to 55494d8 Compare July 9, 2019 08:19
@Ant-hem
Copy link
Member Author

Ant-hem commented Jul 9, 2019

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).


DefaultHosts = hosts;

Compression = CompressionType.GZIP;
Copy link

Choose a reason for hiding this comment

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

If it's the default value, don't we want to change it for NONE?

Copy link
Member Author

Choose a reason for hiding this comment

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

👍 Just updated it.

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Ant-hem Ant-hem merged commit 42ab184 into master Jul 22, 2019
@Ant-hem Ant-hem deleted the feat/gzip branch July 22, 2019 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API Feature - Implement GZIP for POST/PUT

3 participants