Hi Al,

I was having a look at WSRequestHostImpl (The WSRequest Host Object) in
order to add security stuff into it (Mashup-720). And it looks a bit
complex (And some features are not even documented).

Here are the various ways the open function can be called

open(httpMethod, url, async);
open(options, url, async);
open(httpMethod, url, username);
open(options, url, username);

open(httpMethod, url, username, password);
open(options, url, username, password);
open(httpMethod, url, async, username);
open(options, url, async, username);


This looks a bit too complex for me (even when you think of documenting
this).

The only thing thats documented is open(options, endpointAddress,
async). I propose moving httpMethod, username and password to options.
So that we basically have just open(options, endpointAddress, async)

WDYT?

Note: Username and password is currently used for HTTP Basic Auth

Thanks,
Keith.

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to