[Windmill-dev] https; file uploads; extjs and click support

Mikeal Rogers mikeal at osafoundation.org
Sun Dec 16 18:18:58 PST 2007


>
> Next, Mikeal, in regards to HTTPS.
>
>> I spent a good chunk of my weekend giving this another go.
>
> Thanks!
>
>> I finally know how Selenium does this. You have to generate a  
>> certificate for each target site and make the next socket  
>> connection after an HTTP CONNECT method respond with that  
>> certificate.
>
> I think sahi does the same thing, fwiw.


The sahi backend is a fork of Selenium RC. He's come a long way since  
then and does a lot more than Selenium, so I'm not surprised he's  
using the same method.

>
>
>> This means seriously tearing in to the server layer of windmill,  
>> which to date we don't actually control. We use cherrypy as a WSGI  
>> server, and the rest of our app works strictly at the WSGI  
>> application level.
>>
>> Supporting SSL is a huge amount of work -- significantly more work  
>> than anything else we're considering in windmill. We'll either have  
>> to swap out various cherrypy wsgi server components, write our own  
>> server, or move to a new server that provides us some way of  
>> getting at this layer. I do know that there is a working https  
>> proxy implementation in twisted, so it might be possible to mess  
>> with that.
>
> They also have some WSGI support, though my possibly misguided  
> impression from the sidelines there is that WSGI support is not a  
> top priority.  But it might still work, and might even be drop-in-ish.

By "they" do you mean sahi? WSGI is a python thing so I'm wondering  
how they would do that.

As a WSGI application we don't actually have access to a low enough  
level to accomplish this, that said I'm not opposed to windmill taking  
over more than the application layer if we can do this.

A contribution is definitely welcome as I have a list of tasks I'll be  
doing before I come back to SSL support :)

Even a proof of concept that works outside of windmill but  
accomplishes what we need in python would be fine.

>>
>
> Agreed that it's a hack, but...hey, if you figure out another way  
> that would be awesome. :-)  I don't think the browsers give you much  
> control at all over their FileUpload widgets.

Like i said, worst case scenario we do it on the Service end.

>
>
> Thanks again to both of you.
>
> Gary
> _______________________________________________
> Windmill-dev mailing list
> Windmill-dev at osafoundation.org
> http://lists.osafoundation.org/mailman/listinfo/windmill-dev



More information about the Windmill-dev mailing list