You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix header name comparison with ignore case to fix#485. Somewhere outside of the Java runtime, a change in a backend system returned lower case headers...
Copy file name to clipboardExpand all lines: api_dev/src/main/java/com/google/appengine/tools/development/testing/jakarta/LocalTaskQueueTestConfig.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -264,10 +264,10 @@ public int execute(URLFetchServicePb.URLFetchRequest req) {
264
264
ByteStringpayload = null;
265
265
for (URLFetchServicePb.URLFetchRequest.Headerheader : req.getHeaderList()) {
266
266
// See if this is a DeferredTask.
267
-
if (header.getKey().equals("content-type") &&
267
+
if (header.getKey().equalsIgnoreCase("content-type") &&
0 commit comments