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+
Carlos Garcia Campos
Comment 1 2016-10-04 01:04:30 PDT
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
Note You need to log in before you can comment on or make changes to this bug.