<div>Hi</div>
<div> </div>
<div>I have a Squeklet running in Internet Explorer, it uses the <em>"HTTPSocket>>httpGetDocument: url args: args accept: mimeType request: requestString"</em> method to make HTTP requests to a web site running on IIS. This works fine under normal circumstances, but when the IIS setting is changed to "Require SSL", the method fails.
</div>
<div> </div>
<div>Initially I thought it was due to this line:</div>
<div> </div>
<div> bare _ (url asLowercase beginsWith: 'http://') <br> ifTrue: [url copyFrom: 8 to: url size]<br> ifFalse: [url].<br> </div>
<div>which obviously would not work with a url starting with "https://", so I changed the line to this: </div>
<div> </div>
<div> bare _ (url asLowercase beginsWith: 'http://') <br> ifTrue: [url copyFrom: 8 to: url size]<br> ifFalse: [<br> (url asLowercase beginsWith: 'https://') <br> ifTrue: [url copyFrom: 9 to: url size]<br> ifFalse: [url].
<br> ].<br> </div>
<div>Squeak now attempts to send through the request, but IIS refuses to serve the page. I think it is because the HTTPSocket issues a request without specifying the scheme to be used, as it is simply stripped off the url and discarded, but I don't know where to change it so that it will issue a request using the "https://" scheme.
</div>
<div> </div>
<div>Any assistance with this would be greatly appreciated.</div>
<div> </div>
<div>Thanks</div>
<div> </div>
<div>RUDOLF COETSEE</div>