From: "Robert J. Chassell" <bob@rattlesnake.com>
Subject: Re: Do you understand this?
Date: Sun, 6 Mar 2005 22:32:56 +0000 (UTC) [thread overview]
Message-ID: <m1D84Iy-0004RGC@rattlesnake.com> (raw)
In-Reply-To: <87sm38jyhm.fsf@tapsellferrier.co.uk> (message from Nic Ferrier on Sun, 06 Mar 2005 20:44:21 +0000)
Accept: text/plain;
q=0.5, text/html, text/x-dvi;
q=0.8, text/x-c
If sent in an HTTP request for a resource /fred the above Accept
headers tells the server that the user will ideally accept /fred as an
HTML document or a text/x-c document.
I do not understand.
Am I right in formatting the statement such that semi-colons have a
higher precedence than commas?
And that a grouping is between semi-colons?
If that is the case, then the above sequency looks to me to favor
* text/x-c as the highest priority;
* text/html, text/x-dvi both equally as the second priorty; and,
* text/plain as the third, lowest priority.
But I do not know anything about this and would like to be told more.
An alternative formatting is that semi-colons precede q settings, and
that if a format lacks a q setting, it has the highest priority.
Thus, the above could be formatted like this
Accept: text/plain; q=0.5,
text/html, text/x-dvi; q=0.8,
text/x-c
and mean the same as
Accept: text/plain ; q=0.5,
text/html, text/x-dvi; q=0.8,
text/x-c ; q=1.0
Is this the case?
Thank you.
--
Robert J. Chassell
bob@rattlesnake.com GnuPG Key ID: 004B4AC8
http://www.rattlesnake.com http://www.teak.cc
next prev parent reply other threads:[~2005-03-06 22:32 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-06 19:11 Do you understand this? Richard Stallman
2005-03-06 20:44 ` Nic Ferrier
2005-03-06 22:32 ` Robert J. Chassell [this message]
2005-03-06 22:58 ` Andreas Schwab
2005-03-06 23:05 ` Jason Rumney
2005-03-07 15:37 ` Robert J. Chassell
2005-03-07 17:10 ` Jason Rumney
2005-03-07 23:46 ` Robert J. Chassell
2005-03-08 0:34 ` Nic Ferrier
2005-03-08 18:41 ` Robert J. Chassell
2005-03-09 16:58 ` Richard Stallman
2005-03-06 23:12 ` Nic Ferrier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1D84Iy-0004RGC@rattlesnake.com \
--to=bob@rattlesnake.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.