Bug 32208 - KNewsTikcer does not understand Content-Encoding and Moved Permanently
Summary: KNewsTikcer does not understand Content-Encoding and Moved Permanently
Status: RESOLVED WORKSFORME
Alias: None
Product: knewsticker
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Other
: NOR normal
Target Milestone: ---
Assignee: Frerich Raabe
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-09-07 22:18 UTC by Ivan E. Moore II
Modified: 2008-01-07 05:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan E. Moore II 2001-09-07 22:12:13 UTC
(*** This bug was imported into bugs.kde.org ***)

Package: knewsticker
Version: 2.2.x

(Originally submitted to the Debian BTS by Marcin Gozdalik <gozdal@gozdal.eu.org> as Bug#110176)

These are actually 2 bugs:
1) KNewsTicker does not understand Content-Encoding: gzip for example. I came across it when I was debugging why the hell freshmeat.net news wasn't displaying correctly. It turned out that freshmeat.net server understands Accept-Encoding: deflate gzip blah blah KNewsTicker is sending and gzips the data prior to sending it. However KNewsTicker overlooks Content-Encoding: gzip thinks it got some garbage from the server and shows "No articles available"
2) It does not correctly react to HTTP Moved permanently message. This one was generated by jabber.org server using the standard URL that came with KNewsTicker. I think it should pop up some dialogbox asking "Do you want to update the URL in preferences?" or just silently update it. 


-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux master 2.4.8 #1 Thu Aug 16 00:07:51 CEST 2001 i686
Locale: LANG=pl_PL LC_CTYPE=pl_PL

Versions of packages knewsticker depends on:
ii  kdebase               4:2.2.0.20010822-1 KDE core applications
ii  kdelibs3              4:2.2.0-final-3    KDE core libraries (runtime files)
ii  libc6                 2.2.4-1            GNU C Library: Shared libraries an
ii  libjpeg62             6b-1.3             The Independent JPEG Group's JPEG 
ii  libkdenetwork1        4:2.2.0-final-1    Common libraries needed for KDE ne
ii  libpng2               1.0.12-2           PNG library - runtime
ii  libqt2                2:2.3.1-8          Qt GUI Library (runtime version).
ii  libstdc++2.10-glibc2. 1:2.95.4-0.010825  The GNU stdc++ library
ii  xlibs                 4.1.0-2            X Window System client libraries
ii  zlib1g                1:1.1.3-15         compression library - runtime
Comment 1 Frerich Raabe 2001-09-16 17:34:00 UTC
Hi

the reported problems are only partially KNewsTicker's fault. ;-)

1.) KDE applications don't care about Content-Encoding (and shouldn't have to) 
since the KIO slaves which are used to retrieve the data from the network 
decompress (and preprocess in general) the data on the fly. This might be 
merely a malfunction of the HTTP KIO slave try opening the file (the source 
file you specified in the configuration that is) with Konqueror to check 
whether it breaks as well. If it does it's probably a KIO problem.

2.) Moved Permanently should indeed be supported by KNewsTicker. The problem 
is that the current KIO API only provides a relatively generic 'redirect' 
signal which appears to be inappropriate in this case as we only care about 
'permanent' redirects. I think KIO itself needs to be adjusted in this case 
CC'ing the corresponding KDE list.

- Frerich
)øCG¨Z;A¨EG
Comment 2 gtsemailser 2001-11-19 01:36:09 UTC
GT TONER SUPPLIES


ORDER BY PHONE PLEASE CALL 770-623-9780
ORDER BY EMAIL: gtsupplies@cable.net.co
EMAIL REMOVAL:  gtsemailser@cable.net.co


LASER PRINTER TONER CARTRIDGES COPIER AND FAX CARTRIDGES
SAVE UP TO 40% FROM RETAIL PRICE.

UNIVERSITY AND/OR SCHOOL PURCHASE ORDERS WELCOME. (NO CREDIT APPROVAL REQUIRED)

ALL OTHER PURCHASE ORDERS REQUESTS REQUIRE CREDIT APPROVAL.

PAY BY CHECK C.O.D OR PURCHASE ORDER (NET 30 DAYS).

FOR THOSE OF YOU WHO HAVE ANY QUESTION ABOUT OUR COMPANY PLEASE EMAIL US AT
gtsinfo@cable.net.co


OUR NEW LASER PRINTER TONER CARTRIDGE PTICES ARE AS FOLLOWS: (PLEASE ORDER
BY ITEM NUMBER)

ITEM    MAKE        MODEL                       PRICE

1---------- HP--------------------LASERJET SERIES 4L 4P
(74A)-----------------------------  $39.00
2---------- HP--------------------LASERJET SERIES 1100
(92A)-------------------------------    $39.00
3---------- HP--------------------LASERJET SERIES 2
(95A)------------------------------------$30.00
4---------- HP-------------------   LASERJET SERIES 2P
(75A)---------------------------------- $49.00
5---------- HP-------------------   LASERJET SERIES 5P5MP6P6MP
(03A)----------------   $39.00
6---------- HP-------------------   LASERJET SERIES 5SI800
(09A)----------------------------$89.00
7---------- HP--------------------LASERJET SERIES 2100
(96A)-------------------------------    $65.00
8---------- HP--------------------LASERJET SERIES 8100
(82X)-------------------------------    $129.00
9---------- HP--------------------LASERJET SERIES 5L6L
(3906A)---------------------------  $35.00
10---------HP--------------------LASERJET SERIES
4V------------------------------------------    $89.00
11---------HP--------------------LASERJET SERIES 4000
(27X)-------------------------------    $65.00
12---------HP--------------------LASERJET SERIES 3SI4SI
(91A)----------------------------   $49.00
13---------HP--------------------LASERJET SERIES 44M55M
(98A)-----------------------    $40.00
14---------HP--------------------LASERJET SERIES 5000
(29X)--------------------------------$89.00
15---------HP--------------------LASERFAX 500 700 (FX1)
------------------------------------$44.00
16---------HP--------------------LASERFAX 5000 7000
(FX2)---------------------------------  $49.00
17---------HP--------------------LASERFAX
(FX3)-----------------------------------------------    $49.00
18---------HP--------------------LASERFAX
(FX4)-----------------------------------------------    $49.00

19---------LEXMARK--------  OPTRA 40194029 HIGH
YIELD------------------------------ $79.00
20---------LEXMARK--------  OPTRA R 40394049 HIGH
YIELD---------------------------    $99.00
21---------LEXMARK--------  OPTRA
E-----------------------------------------------------------$49.00
22---------LEXMARK---------OPTRA
N----------------------------------------------------------$105.00
23---------LEXMARK--------  OPTRA
S-----------------------------------------------------------$145.00
24---------LEXMARK--------  OPTRA
T-----------------------------------------------------------$180.00

25---------EPSON--------------  ACTION LASER
7000750080009000----------------------   $99.00
26---------EPSON--------------  ACTION LASER
10001500------------------------------------$99.00

27---------PANASONIC-----   NEC SERIES 2 MODELS 90 AND
95------------------------  $99.00

28---------APPLE--------------  LASER WRITER PRO
60016/600----------------------------  $40.00
29---------APPLE--------------  LASER WRITER SELECT
300320360----------------------$64.00
30---------APPLE--------------  LASER WRITER 300
320--------------------------------------   $49.00
31---------APPLE--------------  LASER WRITER NT
2NT-------------------------------------    $49.00
32---------APPLE--------------  LASER WRITER
12/640----------------------------------------  $69.00

33---------CANON------------    FAX LASERCLASS 4000
(FX3)------------------------------ $49.00
34---------CANON------------    FAX LASERCLASS 500060007000
(FX2)----------------   $44.00
35---------CANON------------    LASERFAX 50007000
(FX2)---------------------------------  $44.00
36---------CANON------------    LASERFAX 85009000
(FX4)---------------------------------  $44.00
37---------CANON------------    COPIER PC36RE7 & 11
(A30)-------------------------------    $59.00
38---------CANON------------    COPIER 300320700720 AND 760
(E-40)------------------    $79.00

30 DAY UNLIMITED WARRANTY INCLUDED ON ALL PRODUCTS.

IF YOU ARE ORDERING BY E-MAIL OR C.O.D. PLEASE FILL OUT AN ORDER FORM WITH
THE FOLLOWING INFORMATION:

PHONE NUMBER
COMPANY NAME
FIRST AND LAST NAME
STREET ADDRESS
CITY STATE ZIP CODE

IF YOU ARE ORDERING BY PURCHASE ORDER PLEASE FILL OUT AN ORDER FORM WITH THE
FOLLOWING INFORMATION:

PURCHASE ORDER NUMBER
PHONE NUMBER
COMPANY OR SCHOOL NAME
SHIPPING ADDRESS AND BILLING ADDRESS
CITY STATE ZIP CODE

ALL TRADE MARKS AND BRAND NAMES LISTED ABOVE ARE PROPERTY OF THE RESPECTIVE
HOLDERS AND USED FOR DESCRIPTIVE PURPOSES ONLY.
Comment 3 Waldo Bastian 2002-09-13 22:04:10 UTC
Signals for permanent redirection have been added to KIO
Comment 4 George Goldberg 2007-12-04 09:19:23 UTC
Problem's seem to be fixed in KDE 3.5.7. Please comment if they are still occuring for other posters.
Comment 5 George Goldberg 2008-01-07 05:12:53 UTC
Closing this bug due to no response. Please reopen if this bug is still present in a recent version of KDE, such as 3.5.8 or 4.0.0