Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/lexerapplications/thumbelina
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29769/src/org/htmlparser/lexerapplications/thumbelina
Modified Files:
ThumbelinaFrame.java
Log Message:
Implemented:
RFE #1017249 HTML Client Doesn't Support Cookies but will follow redirect
RFE #1010586 Add support for password protected URL
and RFE #1000739 Add support for proxy scenario
A new http package is added, the primary class being Connectionmanager which
handles proxies, passwords and cookies. Some testing still needed.
Also removed some line separator cruft.
Index: ThumbelinaFrame.java
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/lexerapplications/thumbelina/ThumbelinaFrame.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** ThumbelinaFrame.java 31 Jul 2004 16:42:30 -0000 1.3
--- ThumbelinaFrame.java 2 Sep 2004 02:28:14 -0000 1.4
***************
*** 929,933 ****
if (null != query)
{
! // replace spzces with +
terms = query.replace (' ', '+');
buffer = new StringBuffer (1024);
--- 929,933 ----
if (null != query)
{
! // replace spaces with +
terms = query.replace (' ', '+');
buffer = new StringBuffer (1024);
***************
*** 944,948 ****
if (USE_MOZILLA_HEADERS)
{
! // Theses are the Mozilla header fields:
//Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1
//Accept-Language: en-us, en;q=0.50
--- 944,948 ----
if (USE_MOZILLA_HEADERS)
{
! // These are the Mozilla header fields:
//Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1
//Accept-Language: en-us, en;q=0.50
|