}
}
}
public void handlePost(URI uri, Bucket data, ToadletContext ctx) throws ToadletContextClosedException, IOException {
if(data.size() > 1024*1024) {
<BUG>this.writeReply(ctx, 400, "text/plain", "Too big", "Too much data, config servlet limited to 1MB");
</BUG>
return;
}
byte[] d = BucketTools.toByteArray(data);

}
}
}
public void handlePost(URI uri, Bucket data, ToadletContext ctx) throws ToadletContextClosedException, IOException {
if(data.size() > 1024*1024) {
this.writeReply(ctx, 400, "text/plain", "Too big", "Data exceeds 1MB limit");
return;
}
byte[] d = BucketTools.toByteArray(data);
