Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

[CSharp/touchsocket] Mark platform tests as stripped#10607

Merged
msmith-techempower merged 1 commit into
TechEmpower:masterfrom
p8:touchsocket/mark-as-stripped
Jan 23, 2026
Merged

[CSharp/touchsocket] Mark platform tests as stripped#10607
msmith-techempower merged 1 commit into
TechEmpower:masterfrom
p8:touchsocket/mark-as-stripped

Conversation

@p8
Copy link
Copy Markdown
Contributor

@p8 p8 commented Jan 21, 2026

Touchsocket hardcodes HTTP headers for the platform tests, so it should be marked as Stripped:

private static ReadOnlySpan<byte> PlaintextPreamble =>
"HTTP/1.1 200 OK\r\n"u8 +
"Server: T\r\n"u8 +
"Content-Type: text/plain\r\n"u8 +
"Content-Length: 13"u8;
private static ReadOnlySpan<byte> JsonPreamble =>
"HTTP/1.1 200 OK\r\n"u8 +
"Server: T\r\n"u8 +
"Content-Type: application/json\r\n"u8 +
"Content-Length: 27"u8;

From the Test Requirements:

All implementations are expected (but not required) to be based on robust implementations of the HTTP protocol. Implementations that are not based on a realistic HTTP implementation will be marked as Stripped.

Closes: #9578

@msmith-techempower msmith-techempower merged commit 44c7923 into TechEmpower:master Jan 23, 2026
4 checks passed
@p8 p8 deleted the touchsocket/mark-as-stripped branch January 23, 2026 21:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No more fakes

3 participants