1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-23 09:17:36 +00:00

CHttpRequest: Okay let's go back to HTTP/1.0 for now..

I don't want to deal with sessions staying alive at the moment.
This commit is contained in:
Andreas Kling 2019-06-22 23:04:31 +02:00
parent af75ccee65
commit ec99f7f721

View file

@ -37,7 +37,7 @@ ByteBuffer CHttpRequest::to_raw_request() const
builder.append(method_name());
builder.append(' ');
builder.append(m_path);
builder.append(" HTTP/1.1\r\nHost: ");
builder.append(" HTTP/1.0\r\nHost: ");
builder.append(m_hostname);
builder.append("\r\n\r\n");
return builder.to_byte_buffer();