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

Fall back on awaitToBodylessEntity when awaitBody is used with Unit #26504

Closed
wants to merge 1 commit into from

Conversation

gaerfield
Copy link
Contributor

allow WebClient.ResponseSpec.awaitBody()
to be used in combination with Type "Unit"

allow WebClient.ResponseSpec.awaitBody()
to be used in combination with Type "Unit"
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Feb 3, 2021
@rstoyanchev rstoyanchev changed the title closes gh-26491 Fall back on awaitToBodylessEntity when awaitBody is used with Unit Feb 4, 2021
@rstoyanchev rstoyanchev added in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement labels Feb 4, 2021
@rstoyanchev rstoyanchev added this to the 5.3.4 milestone Feb 4, 2021
@sdeleuze sdeleuze removed the status: waiting-for-triage An issue we've not yet triaged or decided on label Feb 15, 2021
@sdeleuze sdeleuze closed this in b00c707 Feb 15, 2021
@sdeleuze
Copy link
Contributor

Polished and merged, thanks.

lxbzmy pushed a commit to lxbzmy/spring-framework that referenced this pull request Mar 26, 2022
This commit also allows awaitBody<Unit>() to be used.

Closes spring-projectsgh-26504
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants