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

Replace HttpResponses methods adding platform-specific newlines #118

Merged
merged 1 commit into from
Jun 8, 2017

Conversation

jglick
Copy link
Member

@jglick jglick commented May 31, 2017

More compatible alternative to #92. Fixes #91.

@reviewbybees

…pecific newlines in favor of alternatives which emit the response body as supplied.
@ghost
Copy link

ghost commented May 31, 2017

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

Copy link
Member

@jtnord jtnord left a comment

Choose a reason for hiding this comment

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

🐝

Copy link
Member

@oleg-nenashev oleg-nenashev left a comment

Choose a reason for hiding this comment

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

Would be nice to retain some tests of the old API as well, but 🐝

/**
* Serves a plain text response.
*/
public static HttpResponse text(final String text) {
Copy link
Member

Choose a reason for hiding this comment

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

since + entry in the changelog?

Copy link
Member Author

Choose a reason for hiding this comment

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

@since is basically useless for Jenkins developers. Will add a changelog entry when merging.

@jglick jglick merged commit 67096fb into jenkinsci:master Jun 8, 2017
jglick added a commit that referenced this pull request Jun 8, 2017
@jglick jglick deleted the HttpResponses-newline branch June 8, 2017 17:22
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