I did submit this fix (Mark Schwenk did the first version of it), but 
I don't think it's made it into the update stream yet.

Mark

>See? *This* is why I don't get any writing done :)
>
>Ok, it seems that the new (as of at least 2.3) exceptions behave *just* a
>little differently than the old #error:. To wit, it prepends "Error: " to
>it's msgs. Naturally, this will play merry hell with an 'HTTP/1.0 401
>Unauthorized' HTTP header. Which will kill AuthorizedServerAction, and,
>strangely enough, EmbeddedServerAction. I'd like to know why.
>
>Since I was using workspace.html as an example, I was naturally perturbed
>;)
>
>The fix belongs to PWS class>>serve:
>....
>       [inst initializeFrom: aSocket.
>       inst getReply]
>               ifError: [:msg :rec | inst
>                       report: (msg copyFrom: 8 to: msg size)
>                       for: rec].
>....
>
>Before I submit this, I suppose that a small review of the use of
>#error: in the PWS system is in order. I'm hoping that 'Error: ' is just
>uniformly prepended and thus scotching it will do the trick
>systematically.
>
>(Also, I'd rather use the new #allButFirst: stuff that's acoming :))
>
>Hope this hasn't already been fixed by someone :). If so, it hasn't made
>it into 2.8a, to my knowledge (though I'm a few days behind :)).
>
>Cheers,
>Bijan.

--------------------------
Mark Guzdial : Georgia Tech : College of Computing : Atlanta, GA 30332-0280
Associate Professor - Learning Sciences & Technologies.
Collaborative Software Lab - http://coweb.cc.gatech.edu/csl/
(404) 894-5618 : Fax (404) 894-0673 : [EMAIL PROTECTED]
http://www.cc.gatech.edu/gvu/people/Faculty/Mark.Guzdial.html

Reply via email to