GH-1172 Ensure content-type set in a message is honored on the output

Also, ensures that the proper content type is set in GCF FunctionInvoker

Resolves #1172
This commit is contained in:
Oleg Zhurakousky
2024-09-09 12:51:36 +02:00
parent 81a2d24a14
commit 85a4fffcd4
7 changed files with 48 additions and 9 deletions

View File

@@ -24,7 +24,10 @@ import java.util.GregorianCalendar;
import java.util.List;
import java.util.concurrent.ThreadLocalRandom;
public class PetData {
public final class PetData {
private PetData() {
}
private static List<String> breeds = new ArrayList<>();
static {
breeds.add("Afghan Hound");