WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
162891
[SOUP] Move request HTTP body handling to ResourceRequestSoup and simplify it
https://bugs.webkit.org/show_bug.cgi?id=162891
Summary
[SOUP] Move request HTTP body handling to ResourceRequestSoup and simplify it
Carlos Garcia Campos
Reported
2016-10-04 00:55:04 PDT
We are currently adding the HTTP body to the message in ResourceHandleSoup, but we could do it as part of the ResourceRequest::updateSoupMessage() method, since the HTTP body is indeed part of the request.
Attachments
Patch
(14.34 KB, patch)
2016-10-04 01:04 PDT
,
Carlos Garcia Campos
mcatanzaro
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2016-10-04 01:04:30 PDT
Created
attachment 290577
[details]
Patch
Alex Christensen
Comment 2
2016-10-04 08:06:38 PDT
Comment on
attachment 290577
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=290577&action=review
> Source/WebCore/platform/soup/SharedBufferSoup.cpp:43 > + if (m_soupBuffer && !offset && !size) {
!size? Is this correct?
Carlos Garcia Campos
Comment 3
2016-10-04 08:33:31 PDT
Comment on
attachment 290577
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=290577&action=review
>> Source/WebCore/platform/soup/SharedBufferSoup.cpp:43 >> + if (m_soupBuffer && !offset && !size) { > > !size? Is this correct?
Yes, it means this was called with no arguments, and then we just take a return a reference.
Carlos Garcia Campos
Comment 4
2016-10-05 00:11:16 PDT
Committed
r206805
: <
http://trac.webkit.org/changeset/206805
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug