Bug 206491 - Split fetch functionality out of HTTPParsers
Summary: Split fetch functionality out of HTTPParsers
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Rob Buis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-20 00:35 PST by Rob Buis
Modified: 2020-04-08 10:19 PDT (History)
5 users (show)

See Also:


Attachments
Patch (37.46 KB, patch)
2020-01-20 00:38 PST, Rob Buis
no flags Details | Formatted Diff | Diff
Patch (39.75 KB, patch)
2020-01-20 01:11 PST, Rob Buis
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Buis 2020-01-20 00:35:06 PST
Split fetch functionality out of HTTPParsers to allow easier lookup of algorithms defined in the fetch specification.
Comment 1 Rob Buis 2020-01-20 00:38:24 PST
Created attachment 388212 [details]
Patch
Comment 2 Rob Buis 2020-01-20 01:11:52 PST
Created attachment 388217 [details]
Patch
Comment 3 youenn fablet 2020-01-20 01:59:15 PST
I am hesitant here.
In some cases, fetch is precising HTTP behavior since that is easier done here than in RFC.
Comment 4 Rob Buis 2020-01-20 02:02:18 PST
(In reply to youenn fablet from comment #3)
> I am hesitant here.
> In some cases, fetch is precising HTTP behavior since that is easier done
> here than in RFC.

Yes this is pretty optional. My main complaint is that FetchIdioms.h is almost empty and not doing much in loader/.