DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21210>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21210

Addition to header parsing due to Local Director





------- Additional Comments From [EMAIL PROTECTED]  2003-07-01 10:01 -------
Thank you Oleg, of course I will use my patched release of the library, but I 
hope to see it in the main release from v2.1
We tried to patch the LocalDirectory, but that is a piece of hardware, and the 
cookie setting are REALLY hard-coded.
Anyway, patching it is really simple as putting this lines in parse:

                if (tokenizer.hasMoreTokens()) {
                    String s = nextToken.toLowerCase();
                    if (s.endsWith("tues")) {
                        nextToken = s.substring(0,s.length()-1) + 
tokenizer.nextToken();
                    }
                    else if (nextToken.endsWith("thurs")) {
                        nextToken = s.substring(0,s.length()-2) + 
tokenizer.nextToken();
                    }
                    else if (s.endsWith("mon") 
                        // Standard from here

Bye.
L.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to