Questo sito potrebbe offrire funzionalità limitate durante le operazioni di manutenzione per migliorare l'esperienza utente. Se un articolo non risolve il tuo problema e vuoi richiedere supporto, la nostra comunità di supporto è pronta ad aiutarti tramite @FirefoxSupport su Twitter e /r/firefox su Reddit.

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

A corectly formed html document being sent locally from a program via an IP link displays as text

  • 1 risposta
  • 2 hanno questo problema
  • 16 visualizzazioni
  • Ultima risposta di atomix01

more options

This seems to be specific to FF 8.0. FF 7.0.1 works correctly. Information from a form is sent to program X via an IP link and the program responds to FF with a properly formed HTML document. In FF 7.0.1, the document displays as an HTML document. In FF 8, it displays as a text string. In FF 8, the PAGE INFO Type is text/plain. In FF 7.0.1 it is text/html. Why is this happening?

This seems to be specific to FF 8.0. FF 7.0.1 works correctly. Information from a form is sent to program X via an IP link and the program responds to FF with a properly formed HTML document. In FF 7.0.1, the document displays as an HTML document. In FF 8, it displays as a text string. In FF 8, the PAGE INFO Type is text/plain. In FF 7.0.1 it is text/html. Why is this happening?

Tutte le risposte (1)

more options

Here's some more info on this problem: the user has a web page with a form on it. When the "submit" button is pressed, it is sent via port 80 to the localhost. A user-written program is listening on port 80 on the localhost, not a full-blown web server like Apache. This user-written program sends back a short html document to the user. In prior versions of FF, this worked fine. With FF8.0, the user now sees the html document as just plain text.

The user-written program that is standing in for the web server does not write out any headers. My guess is that it needs to send out at least a Content-Type: text/html header before it sends the html code to mnake FF8.0 happy, but I'm kind of guessing here. Is there someone else that can shed some light on this?