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

Better default response codes from HTTP method when no GRPC code set #349

Merged
merged 5 commits into from
Dec 9, 2022

Conversation

Calebjh
Copy link
Contributor

@Calebjh Calebjh commented Nov 23, 2022

No description provided.

@Calebjh Calebjh marked this pull request as ready for review November 30, 2022 18:54
}
if statName != CodeName(Deleted) {
t.Errorf("invalid http status codename %q - expected: %q", statName, CodeName(Deleted))
}
}

Choose a reason for hiding this comment

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

what about "PATCH"

Choose a reason for hiding this comment

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

tanks for adding it.

@Calebjh Calebjh merged commit 0af141e into infobloxopen:master Dec 9, 2022
@Calebjh Calebjh deleted the resp-codes branch December 9, 2022 21:20
abalaven pushed a commit that referenced this pull request Dec 13, 2022
…349)

* Better default response codes from HTTP method when no GRPC code set

* Add a variable to status code logic for backwards compatibility

* Fix switch syntax, add more test cases

* Split into a new function

* Update to gateway/README
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