View Single Post
Old 10-03-2010, 11:39 AM   #1
Jim Chapman
Addict
Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.Jim Chapman ought to be getting tired of karma fortunes by now.
 
Posts: 309
Karma: 2025434
Join Date: Oct 2009
Device: Lumia 950 Phone
Calibre Content Server HTTP Authentication - Basic or Digest?

Hi,

I'm in the closing stages of building the Windows Phone 7 version of my book reader (Freda), and I'm just working on the Calibre Content Server integration.

It works fine if I don't set a password on the Content Server, but if I do set a password, it does not work. My code is doing the right thing, supplying a credentials object as required ... but I think the problem is the type of authentication. At the moment the Windows Phone 7 development tools only support 'Basic' HTTP Authentication; I wonder if perhaps the content server is insisting on 'Digest' HTTP Authentication. That is a feature that Microsoft, in their wisdom, have not (yet) provided on WP7.

Can someone familiar with the code tell me:
- Does the content server insist on Digest authentication and refuse to use Basic authentication? (by the way, I think this would be a reasonable thing to do; it is Microsoft who are being daft)
- Or is there some setting I can use to make the content server use Basic authentication?
- Or is my suspicion wrong? (which is to say that my problems are caused by something else, and I have more debugging to do)

By the way, I noticed some comments about authentication problems with Android software. I wonder whether this is a similar problem.

Any advice will be much appreciated.

Thanks,

Jim
Jim Chapman is offline   Reply With Quote