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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user