Fixes #35632.
This updates the malformed whitespace header checks in interface_http.py to send exact raw HTTP requests instead of using http.client to construct and parse deliberately invalid requests.
The failing case is platform-sensitive: the server can correctly send HTTP/1.1 400 and close the connection, while Python on Windows may surface the close as ConnectionAbortedError before http.client returns an HTTPResponse. Sending raw bytes and checking the raw status line matches the pattern already used by nearby malformed-request tests and keeps the assertion focused on the server behavior.