• # Re: La toile ou ma connexion se comporte de façon étrange

    Posté par . En réponse au journal La toile ou ma connexion se comporte de façon étrange. Évalué à 4.

    j'ai la même chose avec mozilla à paris avec club-internet.
    mais lorsque j'essai avec telnet :

    $ telnet karrakis.net 80
    Trying 80.65.234.35...
    Connected to karrakis.net.
    Escape character is '^]'.
    GET / HTTP/1.1
    host: karrakis.net
    connection: close

    HTTP/1.1 200 OK
    Date: 2003年9月16日 20:18:37 GMT
    Server: Apache
    X-Powered-By: PHP/4.1.2
    Connection: close
    Transfer-Encoding: chunked
    Content-Type: text/html

    1e59
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd(...)">
    <html xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml(...)">
    ..........reste de la page ..........

    La page renvoyer avec telnet est la bonne. c'est peut etre PHP qui interprète mal des paramètres envoyés dans l'en-tête http par mozilla .....

    Par contre avec debian-fr.org :

    $ telnet debian-fr.org 80
    Trying 62.4.21.252...
    Connected to plouc.net.
    Escape character is '^]'.
    GET / HTTP/1.1
    host: debian-fr.org
    connection: close

    HTTP/1.1 200 OK
    Date: 2003年9月16日 20:19:36 GMT
    Server: Apache
    X-Powered-By: PHP/4.2.3
    Set-Cookie: PHPSESSID=ae273aba4ff94dc9c800af2ba4742e44; path=/
    Expires: 1981年11月19日 08:52:00 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    Connection: close
    Transfer-Encoding: chunked
    Content-Type: text/html; charset=iso-8859-1

    0

    Connection closed by foreign host.

    là rien est envoyé à part l'en tête http, même pas le < html>< body>< /body>< /html> donner par mozilla!
    c'est assez bizarre mais c'est surment pas un problème de DNS.