Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change RFC 2616 to RFC 9110 #434

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions questions/qa-http-and-lang.de.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ <h2><code class="kw" translate="no">meta</code>-Element</h2>

<section id="http_summary">
<h2>HTTP-Header</h2>
<p>Wenn Sie eine Website oder -ressource von einem Server anfordern, sendet der Server verschiedene Informationen zu dem Objekt zurück, das Sie anfordern (Metadaten). Er benutzt dabei ein Format, das als <a class="print" href="http://tools.ietf.org/html/rfc2616#section-14.12">HTTP-Header</a> bezeichnet wird. Eines der Dinge, die Sie in solchen Metadaten finden können, ist sprachbezogen. Achten Sie auf die letzte Zeile im folgenden Beispiel, welches die zu diesem Artikel gehörende HTTP-Antwort zeigt.</p>
<p>Wenn Sie eine Website oder -ressource von einem Server anfordern, sendet der Server verschiedene Informationen zu dem Objekt zurück, das Sie anfordern (Metadaten). Er benutzt dabei ein Format, das als <a class="print" href="https://httpwg.org/specs/rfc9110.html#field.content-language">HTTP-Header</a> bezeichnet wird. Eines der Dinge, die Sie in solchen Metadaten finden können, ist sprachbezogen. Achten Sie auf die letzte Zeile im folgenden Beispiel, welches die zu diesem Artikel gehörende HTTP-Antwort zeigt.</p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why httpwg.org instead of the more official rfc-editor.org? I believe the latter is the official site (per John Kleinsin)?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my impression, the usability of httpwg.org is better. See also w3c/browser-specs#280 and tobie/specref#672

<figure class="example"><pre>HTTP/1.1 200 OK
Date: Sat, 23 Jul 2011 07:28:50 GMT
Server: Apache/2
Expand All @@ -93,7 +93,7 @@ <h2>HTTP-Header</h2>
<p><code>Content-Language: en, hi, pa</code></p>
</figure>
<p>Der <code class="kw" translate="no">Content-Language</code>-Header wird mit einer bestimmten Seite durch Einstellungen auf Server-Seite oder durch serverseitiges Scripting verknüpft. Sie finden einen <code class="kw" translate="no">Content-Language</code>-Header beispielsweise in HTTP-Metadaten, wenn ein Server mehr als eine Fassung einer Ressource in jeweils einer anderen Sprache vorhält. Wenn der Server Informationen benutzt, die er über Sie besitzt, um automatisch eine bestimmte Sprachversion auszuwählen (»Content Negotiation«), wird die ausgewählte Sprachversion im HTTP-Header angegeben.</p>
<p>Der HTTP-<code class="kw" translate="no">Content-Language</code>-Header kann nützliche sprachbezogene Daten zur Seite oder Ressource geben, die aufgerufen wird, aber die <a class="print" href="http://tools.ietf.org/html/rfc2616#section-14.12">HTTP-Spezifikation</a> macht deutlich, dass das Ziel dieser Informationen ist, Metadaten über das avisierte <em>Publikum</em> des Dokuments zu liefern, anstatt die Sprache des Textes selbst anzugeben. Solche Metadaten können dazu verwendet werden, eine geeignete Sprachfassung, Workflow-Management, eine bestimmte Klassifizierung, Suchfunktionalität und ähnliches anzubieten. Beachten Sie hierzu auch, <a href="#http">wie von einem HTTP-Header auf die Textsprache geschlossen werden kann</a>.</p>
<p>Der HTTP-<code class="kw" translate="no">Content-Language</code>-Header kann nützliche sprachbezogene Daten zur Seite oder Ressource geben, die aufgerufen wird, aber die <a class="print" href="https://httpwg.org/specs/rfc9110.html#field.content-language">HTTP-Spezifikation</a> macht deutlich, dass das Ziel dieser Informationen ist, Metadaten über das avisierte <em>Publikum</em> des Dokuments zu liefern, anstatt die Sprache des Textes selbst anzugeben. Solche Metadaten können dazu verwendet werden, eine geeignete Sprachfassung, Workflow-Management, eine bestimmte Klassifizierung, Suchfunktionalität und ähnliches anzubieten. Beachten Sie hierzu auch, <a href="#http">wie von einem HTTP-Header auf die Textsprache geschlossen werden kann</a>.</p>
<p>Dadurch, dass Sprachinformationen im HTTP-Header vom Server gesendet werden, sind diese Informationen nicht verfügbar, wenn auf Ihre Seite von einer Festplatte, einem Memory-Stick oder einem anderen, nicht-serverbasierten Ort zugegriffen wird. Es gibt aktuell keine gemeinhin anerkannte Lösung, um diese Metadaten innerhalb einer Seite wiederzugeben.</p>
</section>

Expand Down
4 changes: 2 additions & 2 deletions questions/qa-http-and-lang.en.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ <h2>The meta element</h2>

<section id="http_summary">
<h2>HTTP headers</h2>
<p>When you retrieve a web page or resource from a server, the server sends with it various bits of information about the thing you are retrieving (metadata). It uses a format referred to as <a class="print" href="http://tools.ietf.org/html/rfc2616#section-14.12">HTTP headers</a>. One of the items you may find in such metadata is language related. See the last line in the example below that shows the HTTP response that accompanies this article. </p>
<p>When you retrieve a web page or resource from a server, the server sends with it various bits of information about the thing you are retrieving (metadata). It uses a format referred to as <a class="print" href="https://httpwg.org/specs/rfc9110.html#field.content-language">HTTP headers</a>. One of the items you may find in such metadata is language related. See the last line in the example below that shows the HTTP response that accompanies this article. </p>
<figure class="example">
<pre>HTTP/1.1 200 OK
Date: Sat, 23 Jul 2011 07:28:50 GMT
Expand All @@ -102,7 +102,7 @@ <h2>HTTP headers</h2>
<p><code>Content-Language: en, hi, pa</code></p>
</figure>
<p>The <code class="kw" translate="no">Content-Language</code> header is associated with a particular page by settings on the server or by server-side scripting. For example, you will typically find a <code class="kw" translate="no">Content-language</code> header in the HTTP metadata when a server holds more than one version of a resource, each in a different language. If the server uses information it has about you to automatically select a particular language version ('content negotiation'), the language version selected will be identified in the HTTP header.</p>
<p>The HTTP <code class="kw" translate="no">Content-Language</code> header can provide useful language data related to the page or resource you are retrieving, but the <a class="print" href="http://tools.ietf.org/html/rfc2616#section-14.12">HTTP specification</a> indicates clearly that the intent of this information is to provide metadata about the intended <em>audience</em> of the document, rather than to indicate the actual language of the text itself. Such metadata may be used for serving the right language version, workflow management, classification, searching, etc. See also <a href="#http">Inferring the language of the text from an HTTP header</a>.</p>
<p>The HTTP <code class="kw" translate="no">Content-Language</code> header can provide useful language data related to the page or resource you are retrieving, but the <a class="print" href="https://httpwg.org/specs/rfc9110.html#field.content-language">HTTP specification</a> indicates clearly that the intent of this information is to provide metadata about the intended <em>audience</em> of the document, rather than to indicate the actual language of the text itself. Such metadata may be used for serving the right language version, workflow management, classification, searching, etc. See also <a href="#http">Inferring the language of the text from an HTTP header</a>.</p>
<p>Because language information in the HTTP header is sent by the server, this information is simply not available if your page is accessed from a hard drive, memory stick, or other non-server based location. There is currently no widely recognized way of representing this kind of metadata inside the page.</p>
</section>

Expand Down