• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: There is not WOHTTPSConnection.... how then?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: There is not WOHTTPSConnection.... how then?


  • Subject: Re: There is not WOHTTPSConnection.... how then?
  • From: Maik Musall via Webobjects-dev <email@hidden>
  • Date: Wed, 23 Oct 2019 15:28:08 +0200

Hi Markus,

why not use a reverse proxy in front of that, terminating TLS and talking plain
http to the app internally? I though everyone is doing that. Certainly we are.

Maik


> Am 23.10.2019 um 12:01 schrieb Markus Ruggiero via Webobjects-dev
> <email@hidden>:
>
> 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      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: There is not WOHTTPSConnection.... how then?
      • From: Maik Musall via Webobjects-dev <email@hidden>
References: 
 >There is not WOHTTPSConnection.... how then? (From: Markus Ruggiero via Webobjects-dev <email@hidden>)

  • Prev by Date: There is not WOHTTPSConnection.... how then?
  • Next by Date: Re: There is not WOHTTPSConnection.... how then?
  • Previous by thread: There is not WOHTTPSConnection.... how then?
  • Next by thread: Re: There is not WOHTTPSConnection.... how then?
  • Index(es):
    • Date
    • Thread