Closed GoogleCodeExporter closed 9 years ago
This is as designed. The runInstances method was designed to behave just like
the
Amazon SOAP client. I realize that having to do the encoding is inconvenient.
Perhaps, what I should do is offer the option. On the other hand, if I just
started
encoding the data, and documenting the fact, that might be just as well. There
really
isn't any harm for the users who are doing their own encoding because it will be
encoded twice. I realize there is some expansion when it is encoded, but
hopefully
that won't be much of an issue.
Original comment by dkavan...@gmail.com
on 17 Jun 2007 at 2:53
I would definitely put in at least an option. I think the normal use case is
just
inputting a String of user data and typica should abstract as much as possible
from
the underlying protocol. In the more rare cases that somebody wants to upload
binary data
the existing method could be used, where a user has to encode it himself or you
could
offer another Method that takes an array of bytes as userData input and
base64encode
that.
Original comment by xnix...@gmail.com
on 17 Jun 2007 at 7:29
In reading the developer docs, base64 is required, so I think I'll make
runInstances() alway encode the data. If the user also encodes it, no harm done,
unless the data is already near the limit (expansion in base64 is 1:1.33)
Original comment by dkavan...@gmail.com
on 18 Jun 2007 at 5:36
Original comment by dkavan...@gmail.com
on 18 Jun 2007 at 5:40
Original issue reported on code.google.com by
xnix...@gmail.com
on 17 Jun 2007 at 1:09