{"action":"created","issue":{"url":"https://api.github.com/repos/cefsharp/CefSharp/issues/1549","labels_url":"https://api.github.com/repos/cefsharp/CefSharp/issues/1549/labels{/name}","comments_url":"https://api.github.com/repos/cefsharp/CefSharp/issues/1549/comments","events_url":"https://api.github.com/repos/cefsharp/CefSharp/issues/1549/events","html_url":"https://github.com/cefsharp/CefSharp/issues/1549","id":126929987,"number":1549,"title":"Saving the resource (jpg,swf) files using OnResourceResponse()","user":{"login":"rover886","id":8499500,"avatar_url":"https://avatars.githubusercontent.com/u/8499500?v=3","gravatar_id":"","url":"https://api.github.com/users/rover886","html_url":"https://github.com/rover886","followers_url":"https://api.github.com/users/rover886/followers","following_url":"https://api.github.com/users/rover886/following{/other_user}","gists_url":"https://api.github.com/users/rover886/gists{/gist_id}","starred_url":"https://api.github.com/users/rover886/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rover886/subscriptions","organizations_url":"https://api.github.com/users/rover886/orgs","repos_url":"https://api.github.com/users/rover886/repos","events_url":"https://api.github.com/users/rover886/events{/privacy}","received_events_url":"https://api.github.com/users/rover886/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-15T18:30:57Z","updated_at":"2016-01-15T22:08:41Z","closed_at":"2016-01-15T22:08:41Z","body":"Currently I am working on `cefsharp/43`. Using CefSharp I am developing an application which will browse an learning website which has interactive content in `swf` files (aprox size 1MB-5MB/swf). Business Idea (requirement) is too avoid downloading of content file every time when user visits to a particular learning lesson, application should only go once to online server and fetch the content file (swf) and once the files get downloaded show it on webpage as well as store that file to an physical location.\r\n\r\nSo next time if a user (or the same user) visits the same learning lesson then application will check for is that content file is present at physical location, if found then serve that file from local path. This part I have already done using `OnBeforeResourceLoad` but if file is not present in local path then request should go to online server (which will be done automatically if I `return false;` in `OnBeforeResourceLoad`) and after resource/content file loading is completed or response has arrived that content(swf) should get displayed on page as well as application should able to save that swf file to local location (without making second request to resource file on server).\r\n\r\nI have checked `cefsharp/45` code which has an method `OnResourceResponse - Called on the CEF IO thread when a resource response is received.` but I didn't get how I can access resource stream from `response` object so that I can save that file, because there is no such method inside [`IResponse`](https://github.com/cefsharp/CefSharp/blob/cefsharp/45/CefSharp/IResponse.cs).\r\n\r\nIs there any other way to make this successful or am I missing something?"},"comment":{"url":"https://api.github.com/repos/cefsharp/CefSharp/issues/comments/172108020","html_url":"https://github.com/cefsharp/CefSharp/issues/1549#issuecomment-172108020","issue_url":"https://api.github.com/repos/cefsharp/CefSharp/issues/1549","id":172108020,"user":{"login":"amaitland","id":307872,"avatar_url":"https://avatars.githubusercontent.com/u/307872?v=3","gravatar_id":"","url":"https://api.github.com/users/amaitland","html_url":"https://github.com/amaitland","followers_url":"https://api.github.com/users/amaitland/followers","following_url":"https://api.github.com/users/amaitland/following{/other_user}","gists_url":"https://api.github.com/users/amaitland/gists{/gist_id}","starred_url":"https://api.github.com/users/amaitland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaitland/subscriptions","organizations_url":"https://api.github.com/users/amaitland/orgs","repos_url":"https://api.github.com/users/amaitland/repos","events_url":"https://api.github.com/users/amaitland/events{/privacy}","received_events_url":"https://api.github.com/users/amaitland/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T22:08:41Z","updated_at":"2016-01-15T22:08:41Z","body":"We're moving towards using [Gitter Chat](https://gitter.im/cefsharp/CefSharp). Please ask your questions there."}}