in reply to IO::Socket::SSL HTTPS Headers

The code you have provided, doesn't return any headers to client except for Content-Type. Actually IO::Socket::SSL have nothing with HTTP and doesn't send any HTTP headers to client. So you should search the source of the problem in other modules.

Replies are listed 'Best First'.
Re^2: IO::Socket::SSL HTTPS Headers
by hostsentry (Initiate) on Jun 12, 2009 at 17:26 UTC
    I wouldn't expect simply returning Content-Type to be sufficient for the browser as a header, and with the way things appear to be working it isn't being treated as a header.

    At some point during the accept command one of the modules is sending information which is being treated as the header by the browser. I want to get it to stop doing that so I can then provide proper HTTP response headers (not just content-type).

    I just can't figure out how to do that by looking through the modules.
Re^2: IO::Socket::SSL HTTPS Headers
by hostsentry (Initiate) on Jun 12, 2009 at 18:01 UTC
    Actually, when I provided the full response headers it worked properly. It added them into the headers already provided, rather than later in the document.