DBDigital / nookapps

Automatically exported from code.google.com/p/nookapps Please note I am not a developer. I only created this to prevent the code from being lost with the shutdown of GoogleCode. If you wish to work on this, contact me and I will add you. :)
0 stars 0 forks source link

Passworded feeds #36

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open a new feed in Trook
2. Enter the URL for my feed
3. Trook says Authorization required and I don't know where to enter it.

What is the expected output? What do you see instead? I am trying to enter my 
credentials into the URL in the form of http://username:password@url.xml but it 
still says authorization required

What version of the product are you using? On what operating system?
 Rev 68 on the nook 1.3 softmodded

Do you have any output from "adb logcat" that contains stack traces or logs
that might be related?
No

Original issue reported on code.google.com by Skylinef...@gmail.com on 17 Jun 2010 at 9:24

GoogleCodeExporter commented 8 years ago
Have you tried the standard URL format for this?
http://userid:password@www.anywhere.com/

Original comment by craftycoder on 29 Jun 2010 at 8:08

GoogleCodeExporter commented 8 years ago
I have, and it does not work.

Original comment by bloodien...@gmail.com on 30 Jun 2010 at 12:34

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I've gone through the code. It does not currently support any kind of 
authentication. I've rewritten the HTTP portion of the URL connection stuff to 
allow for authentication of the type described in this article.

I've tested it on Calibre which uses digest authentication. It works for file 
downloads as well as reading feeds.

The source I uploaded yesterday encountered a memory error when downloading 
large files. I modified the HttpAuthenticatedConnection class I wrote to take 
an OutputStream as an argument rather than just return a byte[]. That way I can 
just stream the data to the disk and bypass large memory allocations. Anyway, 
rather than have old stale source up here, I've deleted it and will just make 
it available by request. A binary is available as well.

Email me at my username (above) @gmail.com

Original comment by craftycoder on 13 Jul 2010 at 5:48