Thanks all for your help, I think there is lots of good stuff that will help me further.
Have a good time and hopefully some WOFun (tm), too ---markus--- > Begin forwarded message: > > From: Markus Ruggiero via Webobjects-dev <webobjects-dev@lists.apple.com> > Subject: There is not WOHTTPSConnection.... how then? > Date: 23. 10. 2019 at 12:01:33 > To: "webobjects-dev@lists.apple.com" <webobjects-dev@lists.apple.com> > Reply-To: Markus Ruggiero <mailingli...@kataputt.com> > > I need to upload data to a server via https. I have it working for http (no > "s") using WOHttpConnection. But there is none with "S". The customer wants > to switch to secure connection. How'd I do that? > > Here is my code for the non-secure upload: > > WORequest request = new WORequest("POST", application.docUploadPath(), > "HTTP/1.1", null, xml, null); > request.setHeader( authHeaderContent, "Authorization" ); > request.setHeader( application.docUploadHost(), "host" ); > request.setHeader( "Java/1.8", "user-agent" ); > request.setHeader( "text/xml", "content-type" ); > WOHTTPConnection connection = new > WOHTTPConnection(application.docUploadHost(), application.docUploadPort()); > boolean sendRequestSucceeded = connection.sendRequest( request ); > > Thanks for any pointer or even some code snippets. > > ---markus--- > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/mailinglists%40kataputt.com > > This email sent to mailingli...@kataputt.com
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com