Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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 🔨 semver/patch No public API change. label Sep 6, 2023
@Lukasa Lukasa merged commit e0d8554 into apple:main Sep 6, 2023
@Lukasa
Copy link
Contributor

Lukasa commented Sep 6, 2023

Thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants