Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: 100-continue support: msg#00016

cms.opengroupware.xmlrpc.devel

Subject: Re: 100-continue support

> >> I didn't try any XML-RPC client so far, but basic authentication seems
> >> just fine.
> > But still avoiding ngobjweb and going straight into ZideStore?
> Using Apache if you specify HTTP/1.0. Notably it still seems to have a
> ~2s delay (some sort of timeout) prior the post arrives at the server.

Yes, basic-auth seems to be working from mono; and there is no delay -
it succeeds or fails very quickly.

public class Client {
static public void Main() {
HttpWebRequest request =
(HttpWebRequest)WebRequest.Create("http://kohocton/RPC2";);
/* setup authentication */
request.PreAuthenticate = true;
NetworkCredential creds = new NetworkCredential("adam", "******",
null);
request.Credentials = creds;
/* setup request paras */
request.ProtocolVersion = HttpVersion.Version10;
request.PreAuthenticate = true;
request.Method = "POST";
request.ContentType = "text/xml";
request.AllowWriteStreamBuffering = true;
/* send response */
Stream stream = request.GetRequestStream();
XmlTextWriter xWriter = new XmlTextWriter(stream, Encoding.ASCII);
xWriter.WriteStartDocument(true);
xWriter.Flush();
xWriter.Close();
/* receive response and parse */
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
StreamReader input = new StreamReader(response.GetResponseStream());
input.Close();
response.Close();
}
}

--
OpenGroupware.org XML-RPC
xmlrpc@xxxxxxxxxxxxxxxxx
http://mail.opengroupware.org/mailman/listinfo/xmlrpc



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.postgresql.b...    video.ffmpeg.us...    gis.qgis.devel/...    web.rdf.redland...    file-systems.oc...    recreation.rail...    systems.archos....    python.c++/2003...    lang.c--/2005-0...    multimedia.gpho...    network.unison....    editors.jedit.u...    hardware.pciids...    cms.tiki.cvs/20...    bug-tracking.ma...    java.hadoop.hba...    ietf.rsvp/2002-...    xfree86.devel/2...    qnx.openqnx.dev...    apache.labs.dev...    tex.pdftex/2008...    os.solaris.open...    user-groups.lin...    kde.koffice/200...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation