November 27, 2002

Some of you who only visit or might have been surprised to find no new updates yesterday or to suddenly find a post for both today and yesterday when there was nothing yesterday :p What happened was that I did my e-mails and created my post for the day as usual before I left for work and then discovered that the RazorSys server was down and so I couldn’t update my blog nor retrieve/send my e-mail. So I updated the Nortiq mirror with my post but not RazorSys. Of course, I later revised the entry in the evening because I had forgotten to add something but that’s another story … Anyway, I updated in the evening when I got back from work and everything should be OK – unless, I can’t post again today :p

Most of yesterday’s coding time was spent struggling with BlogMan – as I mentioned yesterday, Greg found the solution to the proxy problem and I happily put it into effect thinking that I’d have a new build out within the hour but so much for the plans of mice and men :p The code revision would not work at all with my proxy server! The Indy HTTP component has a BasicAuthentication value in both the proxy parameters property and the request header property. I had thought (and so the documentation also seemed to imply) that the BasicAuthentication value on the request header referred to the actual server end of the transaction – whether to use authentication to process the request and not to verify whether to authentication on the proxy. But on my side of things at least, the proxy authentication would work only if I set the BasicAuthentication to true for the request property as well. This worked fine for a GET request, but a POST request was another matter …

I found that a POST request wouldn’t go through the proxy (the one I was using at least) with even the BasicAuthentication on the request property set. So then I set the user name and password for the request property to the proxy authentication user name and password and this got me through the proxy but the POST request failed at the server. This kind of confirms my fears because I had thought that the user name and password for the request property was again to be used only for authentication at the server end and not the proxy itself. So I’m left with three possibilities: 1) the proxy server that I use is buggy – which is possible since it’s a freeware one without much documentation or support 2) the Indy component has a bug – not quite so possible since it did seem to work for Greg 3) I don’t know what the heck I am doing and am botching a perfectly simple thing – which is absolutely possible :p Anyway, I am trying to find another free proxy server which supports authentication and is easy to use and configure so that I can test the BlogMan code again with it. I’ll keep you updated as to what happens …

Be Sociable, Share!
Tags: General
Posted by Fahim at 5:28 am   Comments (0)