<div dir="ltr">On 20 December 2013 16:42, Code Raguet <span dir="ltr"><<a href="mailto:ignacio.code@gmail.com" target="_blank">ignacio.code@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="im"><br><div class="gmail_quote">On Fri, Dec 20, 2013 at 6:04 AM, Daniel Narvaez <span dir="ltr"><<a href="mailto:dwnarvaez@gmail.com" target="_blank">dwnarvaez@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What about using the user agent in isStandalone instead of the protocol? We can make the web activity and the sugar-web-test use two different, recognizable user agents.</blockquote>
</div><br></div>I like it</div><div class="gmail_extra"><br></div><div class="gmail_extra">Other approach may be registering an "acticity" scheme in sugar-web-test that (internaly) replaces de request.uri with "http".</div>
<div class="gmail_extra">But I don know if this is possible... (I'm a newbie with webkit)</div></div>
</blockquote></div><br></div><div class="gmail_extra">It should be possible but not as easy as tweaking a flag or something like that. You would need to download from http using libsoup or something and pipe data into the custom protocol stream.<br>
</div></div>