HTTP/1.x support #1

Open
opened 2024-08-28 09:33:25 +00:00 by Rubicon · 0 comments
Owner
  • support simple requests and responses
  • support Transfer-encoding: chunked
  • support Connection: keep-alive
  • support Transfer-Encoding: gzip
  • support Transfer-Encoding: gzip, chunked
  • receive request body
  • HTTP pipelining is not included since browsers do not use it by default

Simple request example for HTTP/1.0:

GET / HTTP/1.0
Host: example.com

Simple request example for HTTP/1.1:

GET / HTTP/1.1
Host: 127.0.0.1:9050
User-Agent: curl/8.9.45

- [x] support simple requests and responses - [x] support `Transfer-encoding: chunked` - [x] support `Connection: keep-alive` - [ ] support `Transfer-Encoding: gzip` - [ ] support `Transfer-Encoding: gzip, chunked` - [ ] receive request body - HTTP pipelining is not included [since browsers do not use it by default](https://developer.mozilla.org/en-US/docs/Web/HTTP/Connection_management_in_HTTP_1.x#http_pipelining) Simple request example for HTTP/1.0: ```` GET / HTTP/1.0 Host: example.com ```` Simple request example for HTTP/1.1: ```` GET / HTTP/1.1 Host: 127.0.0.1:9050 User-Agent: curl/8.9.45 ````
Rubicon added the
feature
accepted
label 2024-08-28 09:33:25 +00:00
Rubicon self-assigned this 2024-08-28 09:33:25 +00:00
Rubicon added this to the 0.1.0 milestone 2024-08-28 09:35:52 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Rubicon/haiya#1
No description provided.