Skip to content

Commit

Permalink
Add content-type: application/protobuf used in google play Issue #3
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueMatthew committed Jan 16, 2022
1 parent c1bf574 commit bfe9710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ProtobufInspector/FiddlerApp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static bool IsProtobufPacket(HTTPHeaders headers)
return false;
}

return null != headers && (headers.ExistsAndContains("Content-Type", "application/x-protobuf") || headers.ExistsAndContains("Content-Type", "application/x-google-protobuf"));
return null != headers && (headers.ExistsAndContains("Content-Type", "application/x-protobuf") || headers.ExistsAndContains("Content-Type", "application/x-google-protobuf") || headers.ExistsAndContains("Content-Type", "application/protobuf"));
}

public static byte[] DecodeContent(byte[] body, Fiddler.HTTPHeaders headers)
Expand Down

0 comments on commit bfe9710

Please sign in to comment.