[mythtv] Qt based replacement for wget

Holger Buchfink avalanche at beyondmonkey.com
Fri Apr 22 16:36:36 UTC 2005


J. Donavan Stanley wrote:
> Holger Buchfink wrote:
>>Isaac Richards wrote:
>>>I just wish the Qt http classes supported authentication..  I think
>>>the existing httpcomms class does all this but the session-ids.
>>
>>Hmm, never looked into that, but I couldn't resist doing a quick google
>>and found this interesting snippet. Can it be that simple?
> 
> No it's not that simple.  Since that's the http 1.0 authentication not 1.1.

Did some more reading - there are two methods, the Basic with simple
username/passwd base64 encoded, and the slightly more complex Digest
mode that uses challenge-response with MD5. Digest mode doesn't seem
to be used very much, rumor has it that IE doesn't get along with it.
Basic auth combined with SSL makes more sense in most cases anyway.
That being said, Zap2it uses Digest auth. Good news is that I have
both Basic and Digest auth working and can authenticate with Zap2it
and download listings. Still have to merge it with existing httpcomms
but that should be the easier part.

Holger


More information about the mythtv-dev mailing list