Open GoogleCodeExporter opened 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
I have, and it does not work.
Original comment by bloodien...@gmail.com
on 30 Jun 2010 at 12:34
[deleted comment]
[deleted comment]
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
Original issue reported on code.google.com by
Skylinef...@gmail.com
on 17 Jun 2010 at 9:24