improve session article
This commit is contained in:
Родитель
fd9b09321c
Коммит
8a48a4d3e6
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: FiddlerCore Session flags
|
||||
description: FiddlerCore provides set of specific flags to control the processing or display of the Session object
|
||||
description: FiddlerCore provides set of specific flags to control the processing of the Session object
|
||||
slug: fiddler-core-session-flags
|
||||
tags: fiddler-core-session-flags
|
||||
published: True
|
||||
|
@ -11,7 +11,7 @@ position: 60
|
|||
# Session Flags
|
||||
|
||||
|
||||
A field in each **Session** object contains flags that control the processing or display of the session. The flags can be accessed by **oSession.oFlags["flagname"]** or by using the default indexer on the **Session** object: **oSession["flagname"]**.
|
||||
A field in each **Session** object contains flags that control the processing of the session. The flags can be accessed by **oSession.oFlags["flagname"]** or by using the default indexer on the **Session** object: **oSession["flagname"]**.
|
||||
|
||||
## Using SessionFlags
|
||||
|
||||
|
@ -35,7 +35,6 @@ A field in each **Session** object contains flags that control the processing or
|
|||
- **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-hostIP** - Indicates the IP address of the server used for this request. **Read-only** flag.
|
||||
- **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-ConnectResponseRemoveConnectionClose** - Use during the **FiddlerApplication.RequestHeadersAvailable** or **FiddlerApplication.BeforeRequest** event, so that when FiddlerCore responds to the client's CONNECT request with **_"200 Connection established"_**, it will not add the **_"Connection: close"_** header. This header is known to be controversial for the CONNECT response, and it causes problems with some clients.
|
||||
|
||||
|
||||
## Client Flags
|
||||
|
@ -43,6 +42,7 @@ A field in each **Session** object contains flags that control the processing or
|
|||
- **x-ProcessInfo** - Information (module name and ProcessID) on source of local requests.
|
||||
- **x-clientIP** - Indicates the client IP that sent this request. It is most useful when multiple computers on a network are pointed to a single Fiddler instance. **Read-only** flag.
|
||||
- **x-clientport** - Indicates the port on the client that sent this request. **Read-only** flag.
|
||||
- **x-ConnectResponseRemoveConnectionClose** - Use during the **FiddlerApplication.RequestHeadersAvailable** or **FiddlerApplication.BeforeRequest** event, so that when FiddlerCore responds to the client's CONNECT request with **_"200 Connection established"_**, it will not add the **_"Connection: close"_** header. This header is known to be controversial for the CONNECT response, and it causes problems with some clients.
|
||||
|
||||
|
||||
## Socket Reuse Flags
|
||||
|
|
Загрузка…
Ссылка в новой задаче