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

Update HTTP server #702

Merged
merged 3 commits into from
Nov 14, 2024
Merged

Update HTTP server #702

merged 3 commits into from
Nov 14, 2024

Conversation

vinc
Copy link
Owner

@vinc vinc commented Nov 14, 2024

  • Add MIME type to BMP files
  • Use native newline in text content
  • Use native newline in HTML content

@vinc
Copy link
Owner Author

vinc commented Nov 14, 2024

HTTP/1.1 defines the sequence CR LF as the end-of-line marker for all protocol elements except the entity-body but until now the server would also convert the newlines in text files. A file created in one computer running MOROS and downloaded in another via HTTP would not have the same hash in both computer because the newlines would be different.

@vinc vinc marked this pull request as ready for review November 14, 2024 09:34
@vinc vinc merged commit 4af5cba into trunk Nov 14, 2024
1 check passed
@vinc vinc deleted the feature/httpd branch November 14, 2024 09:34
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.

1 participant