Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 927779d1 authored by masensio's avatar masensio
Browse files

Case sensitive when reading HTTP-Headers

parent 21577231
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -152,11 +152,11 @@ public class RemoteOperationResult implements Serializable {
            Header current;
            for (int i=0; i<headers.length; i++) {
                current = headers[i];
                if ("Location".equals(current.getName())) {
                if ("location".equals(current.getName().toLowerCase())) {
                    mRedirectedLocation = current.getValue();
                    break;
                }
                if ("WWW-Authenticate".equals(current.getName())) {
                if ("www-authenticate".equals(current.getName().toLowerCase())) {
                	mAuthenticate = current.getValue();
                	break;
                }