Bug 162891

Summary: [SOUP] Move request HTTP body handling to ResourceRequestSoup and simplify it
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, berto, bugs-noreply, commit-queue, danw, gustavo, mcatanzaro, mrobinson
Priority: P2 Keywords: Gtk, Soup
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch mcatanzaro: review+

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.