Squeak's web server

Lex Spoon lex at cc.gatech.edu
Tue Feb 8 15:21:45 UTC 2000


Bert Freudenberg <bert at isgnw.CS.Uni-Magdeburg.De> wrote:

> > A GET request /whatever?a=1&a=2 isn't parsed correctly IMHO.  I
> > think, the server should remember both values for 'a' (Java servlets
> > do this).
> 
> Not sure about this ... fields are collected in a dictionary so the second
> occurrence is probably discarded.
> 

I actually argued that the second value should be discarded, but got
overridden by people who actually know anything about web aps. :)  The
*intent* of the developpers, last I checked, was that A's entry in the
dictionary would be some sort of collection if A appears multiple times,
and thus that both values would be saved.  I'm not sure this behavior
has been actually used, though, so it possibly doesn't work correctly.

In PWS it definately worked this way.


More info can be found via the Swiki Swiki:

	http://pbl.cc.gatech.edu/myswiki

Lex





More information about the Squeak-dev mailing list