Bonjour à tousje suis en train de developper un petit programme de filtrage de page we b en c.
mon problème est que je reçois bien une réponse du serveur de la forme suivante;
mais que le navigateur ne l'affiche pas.Pouvez vous m'aider svp!?merci d'avance:

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
HTTP/1.1 301 Moved Permanently
Date: Sun, 06 May 2007 19:49:46 GMT
Server: Apache
Location: http://www.orange.fr/
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
 
e1 
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>301 Moved Permanently</TITLE>
</HEAD><BODY>
<H1>Moved Permanently</H1>
The document has moved <A HREF="http://www.orange.fr/">here</A>.<P>
</BODY></HTML>
 
0
 
n: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8
 
3090
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
 
 
 
                <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="no" lang="no">
<head>
<style type="text/css">
    @import url("/extension/mdkdesign/design/mdk/stylesheets/screen.css");
 
 
 
    @import url("/design/mdk/stylesheets/target.css.php?t=none");
 
</style>
<link rel="stylesheet" type="text/css" me
...etc en html ou de la forme



Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
HTTP/1.1 302 Found
Location: http://www.google.fr/
Cache-Control: private
Set-Cookie: PREF=ID=513bc83f01caea68:TM=1178478407:LM=1178478407:S=Mhy5Fppn5nLAEeCx; expires=Sun, 17-Jan-2038 19:14:07 GMT; path=/; domain=.google.com
Content-Type: text/html
Server: GWS/2.1
Transfer-Encoding: chunked
Content-Encoding: gzip
Date: Sun, 06 May 2007 19:06:47 GMT
 
b9
     LO?@??uzlW'P??ihyI)?P#\6>?4
?jQ?r?:d:?$w?	?9'Q
?9??p?-3bFl?????58bYr&4?:)?Az??<?  
a
 ?	?   
0
 
????2v?,??bgR?HHDL4 ZRf?9?qP$%?lk]e????(D?S?Db4uT+??????=>x?q?W?.?0@=?']?@???qu?2>r.??W?mE?U_H?@Xt0~
???????F;"#?BnRz?NX,I,+W?8?OGtÖ`.?#?.=?9??T{c??NPll?4FGK/gg?W5?i?C?W?gTI<^" ?0'"?$'?0iQR4?5?p&?.n?zN	??6	?{i?Q~Z?<X?GI6_?$H?y?Sf-.”]}?2?4=`8d?|O??^I?E|z($@!oLY]=y! ?
\`	5)?1Z#x7D%?<!
?
... etc en code binaire(?)....