Each Session object in Fiddler contains a collection of string flags, in the Session.oFlags[] collection.  The flags control how the session is processed and displayed in the Fiddler session list.  Flags can be set by FiddlerScript or an IFiddlerExtension.

Tips

  • Flag names are not case-sensitive.  Flag values are always strings.
  • If you examine oFlags["non-existent-flag"], the result will be null.
  • The oFlags collection is the "indexer" for the Session object.  Thus,oSession.oFlags["flagname"] can be written as oSession["flagname"] or oSession["SESSION", "flagname"].
  • You can remove a flag from the list by calling oFlags.Remove("flagname") or settingoSession["flagname"] = null.
  • The value of most flags is not important; simply adding the flag is enough.  So (perhaps surprisingly) oSession["ui-hide"]="no" does the same thing as oSession["ui-hide"] = "true" -- it hides the session.
  • While you can call oFlags.Add("flagname"), this will throw an exception if the flag already exists.  It's better to just set the value: oFlags["flagname"] = "value";
  • You can create new flags of your own invention that attach metadata to a given session. To avoid naming conflicts, it's recommended that you choose distinctive flagnames, e.g.addon.acme.loggingFlag.
Flag Name Meaning
ui-hide Hide the session from the Session List.  
The session will continue to run.  Breakpoints on hidden sessions are ignored.
Note: hiding a session will free up the memory that would otherwise be used to hold the session data in memory.
   
ui-color The value of this flag determines the font color used to render this session in the Session List.
ui-backcolor The value of this flag determines the background color used behind this session's entry in the Session List.
ui-bold If present, this session's entry will be bolded in the Session List.
ui-italic If present, this session's entry will be italicized in the Session List.
ui-strikeout If present, this session's entry will be struck out in the Session List.
ui-customcolumn The value of this flag is shown in the Fiddler Session List's "User-defined" column.
   
ui-breakrequest If present, execution of this session will pause before the request is issued.
ui-breakresponse If present, execution of this session will pause after the response is received.
ui-comments The Comment, if any, which the user set on this session.
x-overrideHost Provide the Host:Port combination which should be used for DNS resolution purposes. Note that this mechanism does not change the HOST header on the request, and thus is not useful if there's an upstream gateway.
x-overrideGateway Provide the Host:Port combination of a gateway that should be used to proxy this request, or DIRECT to send the request directly to the origin server.
   
x-serversocket Read-only.  String containing data about the reuse status of the server socket.
x-securepipe Read-only. String containing data about the reuse status of a secure server socket.
x-no-decrypt If set on a CONNECT tunnel, the traffic in the tunnel will not be decrypted.  Requires Fiddler v2.0.8.9 or later.
https-Client-Certificate Filename of client certificate (e.g. .CER) that should be attached to this secure request.  Requires Fiddler v2.1.0.3 or later.
x-SuppressProxySupportHeader Prevent Fiddler from adding a "Proxy-Support: Session-Based-Authentication" header to HTTP/401 or HTTP/407 responses that request Negotiate or NTLM authentication.   Requires Fiddler v2.1.4.2 or later.
   
x-ProcessInfo Information (module name and ProcessID) on source of local requests. Requires Fiddler v2.1.4.1 or later.
x-clientIP Read-only.  Indicates the client IP that sent this request.  Mostly useful when multiple computers on a network are pointed to a single Fiddler instance.
x-clientport Read-only.  Indicates the port on the client that sent this request.
x-hostIP Read-only.  Indicates the IP address of the server used for this request.
   
x-TTFB Deprecated.  Use oSession.Timer instead.  Time to the first byte of the response, in milliseconds.
x-TTLB Deprecated.  Use oSession.Timer instead.  Time to the last byte of the response, in milliseconds.
request-trickle-delay Milliseconds to delay each outbound kilobyte of request data.
response-trickle-delay Milliseconds to delay each inbound kilobyte of response data.
   
x-HTTPProtocol-Violation Contains data about violations of the HTTP protocol encountered while processing this session.
   
   
x-replywithfile The value of this flag is the name of a file in the Captures/Responses folder (or a fully-qualified filename) containing a HTTP response to return to the client rather than sending the request to the server.
x-repliedwithfile Read-only.  Contains the name of the file specified in x-replywithfile, after the automatic response was loaded.
   
log-drop-request-body Drop the request body from the session list after request is sent to the server.  Useful for minimizing memory usage.
log-drop-response-body Drop the request body from the session list after response is sent to the client.  Useful for minimizing memory usage.
   
x-OverrideCertCN String specifying the hostname that should appear in the CN field of this CONNECT tunnel's Fiddler-generated certificate.

Fiddler SessionFlags的更多相关文章

  1. Fiddler (二) Script 用法

      通过前一篇博客 [Fiddler教程], 我们了解了Fiddler的基本用法,  现在我们来看看Fiddler的高级用法. Fiddler Script.   Fiddler中的script 可以 ...

  2. Fiddler源代码分享

    frmViewer.cs: namespace Fiddler{    using Microsoft.Win32;    using System;    using System.Collecti ...

  3. fiddler 插件开发

    本文主要讲解使用.net C#语言开发Fiddler插件. 1.在Fiddler 会话列表中添加自定义列 使用FiddlerApplication.UI.lvSessions.AddBoundColu ...

  4. Fiddler Session标志

    Each Session object in Fiddler contains a collection of string flags, in the Session.oFlags[] collec ...

  5. fiddler发送post请求

    1.指定为 post 请求,输入 url Content-Type: application/x-www-form-urlencoded;charset=utf-8 request body中的参数格 ...

  6. [转]Fiddler抓取Android真机上的HTTPS包

    此篇文章转载自:http://blog.csdn.net/roland_sun/article/details/30078353 工作中经常会需要对一些app进行抓包, 但是每次默认都是只抓http请 ...

  7. 从Fiddler抓包到Jmeter接口测试(简单的思路)

    备注:本文为博主的同事总结的文章,未经博主允许不得转载. Fiddler下载和配置安装 从网上下载fiddler的安装包即可,直接默认,一直点击下一步,直至安装完成. 安装完成后直接打开Fiddler ...

  8. web开发调试神器——fiddler的使用

    好累 以后再写 http://docs.telerik.com/fiddler/knowledgebase/autoresponder

  9. 用Fiddler模拟低速网络环境

    有时候宽频网路用习惯了… 在开发的过程就比较少去考虑最佳化的问题… 但当有人反应说「你的网页好慢」甚至当网路速度慢,会造成你的网页跳出什么啊哩不哒的bug时要如何重现呢? 我们可以用Fiddler 这 ...

随机推荐

  1. mysql数据库cup飙升处理思路

    1.先top查看是那一个进程,哪个端口占用CPU多. 2.show processeslist查看是否由于大量并发,锁引起的负载问题. 3.否则,查看慢查询,找出执行时间长的sql:explain分析 ...

  2. 制作MACOSX10.10.3/10.9安装启动盘U盘的教程

    下载MACOSX 10.10.3/10.9镜像文件,下载地址http://www.chinamac.com/download/mac14032.html1.准备好你需要的大于等于6G以上的U盘或者移动 ...

  3. 用最简单的例子理解模板方法模式(Template Method Pattern)

    假设要做一道红烧肉,做法有很多,在不同的做法中都有相同的部分,比如都要放油.放肉.放调料等.也有不同之处,比如有些做法放可乐,有些做法放甜蜜酱,等等. 先提炼出一个抽象类,该类不仅有制作红烧肉的各个步 ...

  4. AutoCAD二次开发——AutoCAD.NET API开发环境搭建

    AutoCAD二次开发工具:1986年AutoLisp,1989年ADS,1990年DCL,1993年ADS-RX,1995年ObjectARX,1996年Active X Automation(CO ...

  5. superobject

    GITHUB: https://github.com/hgourvest/superobject # SuperObject ## What is JSON ? - JSON (JavaScript ...

  6. vc中nmake.exe cl.exe 的使用

    首先简单介绍一下程序是如何编译链接的.程序写好之后,我们进行编译和链接来产生可执行程序.这时候,编译器为了完成编译和链接,需要知道很多信 息.比如要编译的文件是哪一个,使用哪些编译选项进行编译,编译好 ...

  7. Tomcat集群扩展session集中管理,Memcached-session-manager使用

    研究tomcat做负载均衡的时候如何实现ha,还有就是不采用session复制的方法做集群. 想到的是将session全部存储在后端的缓存服务器中. 正好网上有这么一个工具Memcached-sess ...

  8. ldap、additional info: no global superior knowledge

    /usr/local/openldap/bin/ldapadd -x -D 'cn=Manager,dc=duxingyu,dc=com' -W -f init.ldif Enter LDAP Pas ...

  9. CASpringAnimation的使用

    CASpringAnimation的使用 效果 源码 https://github.com/YouXianMing/Animations // // CASpringAnimationControll ...

  10. phpExcel导出文件时内存溢出的问题

    在使用PHPExcel导出文件时,经常会因为文件过大导致PHP内存溢出报错,为了解决这个问题,可以使用PHPExcel提供的参数进行优化.这里说的Excel文件过大并不一定是文件大小,更关键的在于文件 ...