あることは知っていますResponse body is encoded. Click to decode
が、機能しません。
私が受け取る応答はzlib
notによってエンコードされており、応答ヘッダーgzip
にはありません。Content-Encoding: gzip
これで、応答本文をファイルに保存しPython
、fiddler
.
私は何をすべきか?
あることは知っていますResponse body is encoded. Click to decode
が、機能しません。
私が受け取る応答はzlib
notによってエンコードされており、応答ヘッダーgzip
にはありません。Content-Encoding: gzip
これで、応答本文をファイルに保存しPython
、fiddler
.
私は何をすべきか?
十分な担当者がいません。コメントしますが、PaleNeutron のスニペットを改善しました。
[FiddlerScript] タブで:
public static ContextAction("Force Decode (zlib)")
function AddEncoding(oSessions: Fiddler.Session[]){
for (var x:int = 0; x < oSessions.Length; x++){
if (oSessions[x].oRequest.headers["Content-Encoding"]=="zlib"){
oSessions[x].oRequest.headers["Content-Encoding"]="deflate";
oSessions[x].utilDecodeRequest();
}
if (oSessions[x].oResponse.headers["Content-Encoding"]=="zlib"){
oSessions[x].oResponse.headers["Content-Encoding"]="deflate";
oSessions[x].utilDecodeResponse();
}
}
UI.actUpdateInspector(true,true);
}
Fiddler でヘッダーを追加または編集できます。ヘッダー インスペクターに移動し、[編集] メニューから [編集用にロック解除] オプションを選択します。次に、ヘッダーを右クリックし、コンテキスト メニューで [ヘッダーの追加] または [ヘッダーの編集] を選択します。
したがって、Content-Encoding を追加/変更できます。
FiddlerScript でそれを行うこともできます。
これをフィドラースクリプトに追加します
public static ContextAction("force decode with deflate")
function AddEncoding(oSessions: Fiddler.Session[]){
for (var x:int = 0; x < oSessions.Length; x++){
oSessions[x].utilDecodeRequest();
oSessions[x].oResponse.headers["Content-Encoding"]="deflate"
oSessions[x].utilDecodeResponse();
}
UI.actUpdateInspector(true,true);
}
右force decode with deflate
クリックメニューに選択肢が表示されます。