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

feat(v2): copy DetermineContentType functionality #230

Merged
merged 6 commits into from Oct 11, 2022

Conversation

noahdietz
Copy link
Contributor

This copies the implementation of an internal utility from google.golang.org/api/internal/gensupport, DetermineContentType, as well as the supporting internal types for content sniffing.

Once this is released, the corresponding usage of this API in gensupport will be replaced with gax's version so that we have one place for bug fixes.

@noahdietz noahdietz requested a review from a team as a code owner October 5, 2022 23:08
@noahdietz noahdietz requested a review from tritone October 5, 2022 23:08
Copy link

@tritone tritone left a comment

Choose a reason for hiding this comment

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

Thanks Noah!

v2/media.go Outdated Show resolved Hide resolved
v2/media.go Outdated Show resolved Hide resolved
@noahdietz noahdietz requested a review from codyoss October 5, 2022 23:35
v2/media.go Outdated Show resolved Hide resolved
@noahdietz
Copy link
Contributor Author

Still want @codyoss's eyes stamp as this adds new APIs.

v2/content_type.go Outdated Show resolved Hide resolved
v2/content_type.go Outdated Show resolved Hide resolved
@codyoss
Copy link
Member

codyoss commented Oct 10, 2022

@noahdietz A couple of small comments, lmk wyt.

@noahdietz noahdietz merged commit 2c52a70 into googleapis:main Oct 11, 2022
@noahdietz noahdietz deleted the determine-content-type branch October 11, 2022 15:11
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.

None yet

4 participants