/[zanchey]/ljbd


UCC Code Repository

Log of /ljbd

View Directory Listing Directory Listing


Sticky Revision:

Revision 15 - Directory Listing
Modified Mon Nov 13 16:51:38 2006 UTC (12 years, 3 months ago) by zanchey
TAG 1.0.0 for release.

Revision 14 - Directory Listing
Modified Mon Nov 13 16:50:50 2006 UTC (12 years, 3 months ago) by zanchey
BRANCH 1.0.X for release of version 1.0.0.

Revision 13 - Directory Listing
Modified Mon Nov 13 16:48:34 2006 UTC (12 years, 3 months ago) by zanchey
Add README file, containing basic information on installation and development.

added      README


Revision 12 - Directory Listing
Modified Mon Nov 13 16:47:59 2006 UTC (12 years, 3 months ago) by zanchey
License under an MIT-style license.

added      LICENSE
modified   ljbd.py


Revision 11 - Directory Listing
Modified Mon Nov 13 16:07:17 2006 UTC (12 years, 3 months ago) by zanchey
Third and final part of caching support:
- Add new return value to http_codes.
- Add more arguments to the connectWithDigestAuth function to support cache headers.
- Add cache headers to request sent to LiveJournal if they exist.
- Always use ETag/Modified-Since headers in the same order, for simplicity.
- Break up call to connectWithDigestAuth over several lines, for readability.

This marks the end of active development for version 1.0.

modified   ljbd.py

Revision 10 - Directory Listing
Modified Mon Nov 13 15:26:50 2006 UTC (12 years, 3 months ago) by zanchey
In the authentication handler, create a Request object, rather than passing the URL directly as a string to the urllib2 open() method. This will allow the addition of custom headers to the request.

Revision 9 - Directory Listing
Modified Mon Nov 13 15:23:54 2006 UTC (12 years, 3 months ago) by zanchey
Remove the installation of the URL opener we create as the default for urllib2. It is unnecessary, as the open() method of the constructed opener can be called directly.

modified   ljbd.py

Revision 8 - Directory Listing
Modified Mon Nov 13 15:09:13 2006 UTC (12 years, 3 months ago) by zanchey
Second part of caching support: grab If-Modified-Since and If-None-Match headers from the request.

Apache's CGI makes debugging this quite difficult, as it will generate and return a 304 Not Modified response if we provide a Last-Modified header.

modified   ljbd.py

Revision 7 - Directory Listing
Modified Mon Nov 13 14:47:01 2006 UTC (12 years, 3 months ago) by zanchey
Add beginning of caching support:
 ljbd now returns Last-Modified and ETag HTTP headers if it gets them.

modified   ljbd.py


Revision 6 - Directory Listing
Modified Sun May 14 04:31:51 2006 UTC (12 years, 9 months ago) by zanchey
A final fix for the changes in LiveJournal feed locations - usernames are now tested for the various rules governing the true location of their feeds.

Both IE and Python appear to choke on authentication requests from the 302-redirected pages. I do not know why.

Revision 5 - Directory Listing
Modified Wed May 3 14:34:22 2006 UTC (12 years, 9 months ago) by david
Add a fix for user names beginning with (and, incidentally, containing) an underscore.

Revision 4 - Directory Listing
Modified Fri Jan 20 01:33:43 2006 UTC (13 years, 1 month ago) by zanchey
LiveJournal has altered the way its feeds are fetched (the authentication handler doesn't appear to handle redirects). It appears to be an XSS safety feature although few details are forthcoming.

XXX This is currently not-quite-fixed.

modified   ljbd.py


Revision 3 - Directory Listing
Modified Thu Jan 19 14:55:59 2006 UTC (13 years, 1 month ago) by zanchey
Now passes errors on to the client in a vaguely intelligent manner.

LiveJournal appears to be broken at present, and refuses to take the digest credentials from ljbd.py or any other client. ljbd.py will now pass the 401 error on.

modified   ljbd.py


Revision 2 - Directory Listing
Modified Mon Jan 2 15:24:59 2006 UTC (13 years, 1 month ago) by zanchey
Add resources directory.

Add urllib2.py patch, a patch against r1.76 of Python's standard urllib2. This
has been committed to the Python development tree, but is unlikely to appear in
a distribution until Python 2.5.
This patch is REQUIRED for correct LiveJournal digest authentication (which
breaks RFC at this stage), although a support request has been filed and
accepted as a bug in the LiveJournal.com code.
It will not be required once the new version of urllib2 comes into widespread
distribution, or once the LiveJournal digest authentication mechanism is fixed.



Revision 1 - Directory Listing
Added Mon Jan 2 15:08:50 2006 UTC (13 years, 1 month ago) by zanchey
Initial import of LiveJournal Basic-Digest Proxy, or ljbd.

This is a generally working version. Error handling is robust
but unhelpful.



Managed by UCC Webmasters ViewVC Help
Powered by ViewVC 1.1.26