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

Simplify header separator and crlf #2513

Merged
merged 1 commit into from Sep 6, 2023
Merged

Simplify header separator and crlf #2513

merged 1 commit into from Sep 6, 2023

Conversation

alex-taffe
Copy link
Contributor

Everywhere else in the file uses crlf and headerSeperator when writing those static strings, we shouldn't be using string literals here

Motivation:

Code cleanliness

Modifications:

Swapped the string literals of \r\n and : for their already defined constants

Result:

No functional changes

Everywhere else in the file uses `crlf` and `headerSeperator` when writing those static strings, we shouldn't be using string literals here
@Lukasa
Copy link
Contributor

Lukasa commented Sep 6, 2023

@swift-server-bot test this please

@Lukasa Lukasa added the patch-version-bump-only For PRs that when merged will only cause a bump of the patch version, ie. 1.0.x -> 1.0.(x+1) label Sep 6, 2023
@Lukasa Lukasa merged commit e0d8554 into apple:main Sep 6, 2023
8 checks passed
@Lukasa
Copy link
Contributor

Lukasa commented Sep 6, 2023

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch-version-bump-only For PRs that when merged will only cause a bump of the patch version, ie. 1.0.x -> 1.0.(x+1)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants