Koozali.org: home of the SME Server

Writing HTML for HTTP authorization

Offline mophilly

  • *
  • 384
  • +0/-0
    • Mophilly
Writing HTML for HTTP authorization
« on: July 23, 2004, 06:57:33 AM »
I have set up SME 6.0 with several iBays open to the internet with user logon required. This works fine.

My question may be a bit off topic. I have written an XML-RPC client and I want to download files from the iBays. I can't get the HTTP GET request to work.

I need some examples of properly composed requests that include authorization.

Here is an example of one of my attempts:

HTTP/1.0 GET HTML
URI: /ja/myzip.zip
Host: www.myplace.com
Authorization: <Base64 string here>

I get back a 401 which I was hoping to avoid, and when I send the request again, I get no payload back.

Does anyone have a link or two, or suggestion that might help?

TIA,

 - Mark
- Mark

Offline mophilly

  • *
  • 384
  • +0/-0
    • Mophilly
Re: Writing HTML for HTTP authorization
« Reply #1 on: July 23, 2004, 05:50:54 PM »
:lol:
OK. I answered my question. Now it works. Amazing what a good night of sleep will do.
- Mark