[AWS] AWS 2.0p : Small Request
Pascal Obry
pascal at obry.org
Fri Jun 18 23:08:13 CEST 2004
Warren,
> In the Authenticate routine above, I really wanted to use the function
> AWS.Response.Empty when there was not authentication problem. However,
> there is no API method of testing for "empty". Here it comes..
I think that you should return a proper error code.
return Acknowledge (Messages.S200)
And test using:
If Status_Code (Result) = Messages.S200 then
...
> I would like a predicate function like:
>
> function Is_Empty(Response : AWS.Response.Data) return Boolean;
Empty, as described in the comment, is mainly there to be used by the chain
callbacks in the dispatchers and I quote "should not be used by users." :)
Why don't you want to use Acknowledge ?
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
More information about the AWS
mailing list