W3C home > Mailing lists > Public > ietf-http-wg@w3.org > April to June 2002

URL encoding of query variables

From: Fred Bohle <Fred.Bohle@neonsys.com>
Date: Wed, 19 Jun 2002 15:04:10 -0500
Message-ID: <477871512D64B94AA86268B9D7A560B501E773@houexch.neonsys.int>
To: <ietf-http-wg@w3.org>


	I am doing some URL encoding of query variables in my code, and I wanted
to be sure I have the rules right.  I can think of 4 ways to specify a query
variable and its value, and I want to know which are valid.

1. keyword=value      This is the simplest case and I know what to do with it.
2. keyword=           This represents a null value for the keyword.  Again,
                      I think I know what to do.
3. keyword            This represents a keyword with no associated value, perhaps
                      some true/false type of indicator.  It has no equal sign.  Is
                      this form valid?
4. =value             This is an attempt at some kind of positional value.  I think it
                      is invalid.  Is that true?


Fred Bohle
Received on Wednesday, 19 June 2002 16:15:30 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:10:35 UTC