If you're interested in seeing the multipart form data encoder, that's in WebCore. WebCore/platform/network/FormData.cpp h WebCore/platform/network/FormDataBuilder.cpp h
In Chrome, the webcore FormData data type is translated to a chrome net::UploadData structure in WebRequestImpl::GetUploadData. The net package doesn't know about multipart form encoding... just UploadData structures. On Mon, Jun 8, 2009 at 3:11 PM, Wan-Teh Chang <w...@google.com> wrote: > > On Mon, Jun 8, 2009 at 2:02 PM, Daniel Cowx<daniel.c...@gmail.com> wrote: > > > > How can I upload multipart form data (including a file) via HTTP POST? > > Is there something already written in the net package (or elsewhere) > > for this task? If so, can someone please point me to what class to > > use. > > You can use the URLRequest class in the net package to do HTTP POST. > The URLFetcher class in chrome/browser/net is good example code. You > can also use url_request_unittest.cc as example code. > > Wan-Teh > > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: chromium-dev@googlegroups.com View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---