-
Notifications
You must be signed in to change notification settings - Fork 0
Open
0 / 40 of 4 issues completedDescription
This issue links out to all the different parts of the spec that we need to investigate changes in (that we have found so far):
- Allowed request headers
- Allowing various anti-spoofing headers for outgoing requests #2
- Allow cookie related headers in outgoing requests #3
- All other headers should stay forbidden:
accept-encoding
is related to auto-decompression, see belowkeep-alive
,transfer-encoding
,TE
are HTTP/1.1 specific headers that are managed by the underlying HTTP stack itselftrailers
are not supported in fetch yet (see below)upgrade
, as there is no upgrade mechanism in fetch (see below)
- Allowed response headers
content-encoding
/content-length
header sanitization after auto-decompression of the body- Handling of Request and Response properties in init and objects:
- Connection pooling
- Network partition key is the agent. If a runtime has no notion of agents/clients, then there could be multiple partition keys. All global
fetch
calls with no explicit agent share a network partition key. - Connection pooling: pretty hand-wavey, seems like this is generally only specified for timing. "This is intentionally a little vague"
- Network partition key is the agent. If a runtime has no notion of agents/clients, then there could be multiple partition keys. All global
- Port blocking
- Need to investigate what different runtimes do
- Probably needs to be normative optional - there are use cases where you want to permit sending requests to any port
- No request blocking based on mime type
- HTTP extensions
origin
header should not be set: servers sometimes treat requests with these specially.
There are also some features we have identified as possibly being useful:
- Trailers
- HTTP Upgrade API
- Letting users set
content-length
for HTTP streams - API to receive interim responses (100 / 101 status code)
- Allowing async iterables in request / response bodies
- Disabling automatic response body decompression
jimmywarting
Sub-issues
Metadata
Metadata
Assignees
Labels
No labels