<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Fiddler on 耕作筆記本</title>
		<link>https://dailybrew.dev/tags/fiddler/</link>
		<description>Recent content in Fiddler on 耕作筆記本</description>
		<generator>Hugo</generator>
		<language>zh-tw</language>
		
		
		
		
			<lastBuildDate>Wed, 28 Jul 2021 15:31:46 +0800</lastBuildDate>
		
			<atom:link href="https://dailybrew.dev/tags/fiddler/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>快速檢測 Server 是否關閉 Debug Mode</title>
				<link>https://dailybrew.dev/posts/2021/07/check-server-debug-mode/</link>
				<pubDate>Wed, 28 Jul 2021 15:31:46 +0800</pubDate>
				<guid>https://dailybrew.dev/posts/2021/07/check-server-debug-mode/</guid>
				<description>&lt;p&gt;以下方法可使用 Fiddler Composer 達成，也可以利共其他可自訂 http 動詞的工具(postman?)進行測試&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;準備一個 &lt;code&gt;DEBUG &lt;/code&gt;Http 動詞的連線&#xA;&lt;ol&gt;&#xA;&lt;li&gt;使用 Fiddler 可以在 Composer 頁面內選 RAW 分頁來自定 Http 動詞&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;在 Request Head 內，於 Cookie 的前一行指定 header  &lt;code&gt;Command: stop-debug&lt;/code&gt;&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://dailybrew.dev/posts/2021/07/check-server-debug-mode/images/fiddler-compose-raw_hu_79e8bb418f421c4f.webp&#34; alt=&#34;image-20210728153145172&#34; loading=&#34;lazy&#34; decoding=&#34;async&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;完成設定後直接下 Execute，如 Server Side 回應 200 即表示 debug mode 為開啟中，回應 403 則表示 debug mode 關閉。&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://dailybrew.dev/posts/2021/07/check-server-debug-mode/images/200-debug-on_hu_235acd5d59b49500.webp&#34; alt=&#34;image-20210728153349882&#34; loading=&#34;lazy&#34; decoding=&#34;async&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://dailybrew.dev/posts/2021/07/check-server-debug-mode/images/403-debug-off_hu_2d35162a6ad5257c.webp&#34; alt=&#34;image-20210728153423015&#34; loading=&#34;lazy&#34; decoding=&#34;async&#34;&gt;&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;p&gt;REF：https://stackoverflow.com/a/57523575&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
