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

Introduce a method in MockHttpServletRequestBuilder to set remote address #30497

Closed
wants to merge 3 commits into from

Conversation

leewin12
Copy link
Contributor

@leewin12 leewin12 commented May 16, 2023

Introduce a method in MockHttpServletRequestBuilder to set the remote server address.

This PR was discussed in gh-30484.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label May 16, 2023
Copy link
Member

@sbrannen sbrannen left a comment

Choose a reason for hiding this comment

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

I think this PR looks pretty good.

I've only requested a few minor changes.

@sbrannen sbrannen changed the title Introduce a method in MockHttpServletRequestBuilder to set remote address Introduce a method in MockHttpServletRequestBuilder to set remote address May 16, 2023
@sbrannen sbrannen added status: waiting-for-feedback We need additional information before we can continue and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels May 16, 2023
@sbrannen sbrannen self-assigned this May 16, 2023
@sbrannen sbrannen added in: test Issues in the test module type: enhancement A general enhancement in: web Issues in web modules (web, webmvc, webflux, websocket) labels May 16, 2023
leewin12 and others added 2 commits May 17, 2023 00:08
Co-authored-by: Sam Brannen <sam@sambrannen.com>
@sbrannen sbrannen removed the status: waiting-for-feedback We need additional information before we can continue label May 16, 2023
@sbrannen sbrannen added this to the 6.1.0-M1 milestone May 16, 2023
@sbrannen sbrannen closed this in e5ee369 May 16, 2023
@sbrannen
Copy link
Member

Congratulations on submitting your first PR for the Spring Framework! 👍

This has been merged into main.

Thanks

@leewin12
Copy link
Contributor Author

Thank you, @sbrannen! Could we backport this to 5.x? Spring Boot 2.x still relies on 5.x.

@sbrannen sbrannen added the status: backported An issue that has been backported to maintenance branches label May 23, 2023
@sbrannen sbrannen modified the milestones: 6.1.0-M1, 6.0.10 May 23, 2023
@sbrannen
Copy link
Member

Reopening to introduce in 6.0.x.

@sbrannen sbrannen reopened this May 23, 2023
@sbrannen sbrannen removed the status: backported An issue that has been backported to maintenance branches label May 23, 2023
@sbrannen sbrannen closed this in fa85657 May 23, 2023
mdeinum pushed a commit to mdeinum/spring-framework that referenced this pull request Jun 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: test Issues in the test module 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.

None yet

3 participants