Support file uploads in CefURLRequests originating from the browser process (issue #1013).

git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@1525 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
Marshall Greenblatt
2013-11-25 17:31:59 +00:00
parent ec8b64e88a
commit 43d2ca32fa
4 changed files with 82 additions and 13 deletions

View File

@ -60,8 +60,15 @@ class CefURLRequest : public virtual CefBase {
///
// Create a new URL request. Only GET, POST, HEAD, DELETE and PUT request
// methods are supported. The |request| object will be marked as read-only
// after calling this method.
// methods are supported. Multiple post data elements are not supported and
// elements of type PDE_TYPE_FILE are only supported for requests originating
// from the browser process. Requests originating from the render process will
// receive the same handling as requests originating from Web content -- if
// the response contains Content-Disposition or Mime-Type header values that
// would not normally be rendered then the response may receive special
// handling inside the browser (for example, via the file download code path
// instead of the URL request code path). The |request| object will be marked
// as read-only after calling this method.
///
/*--cef()--*/
static CefRefPtr<CefURLRequest> Create(