WarshipGirls/WGViewer

Find a workaround for aborted but "200 OK" server response

Closed this issue · 1 comments

pwyq commented

https://stackoverflow.com/questions/20793164/what-does-the-red-circle-cross-in-the-column-means/20793279

https://stackoverflow.com/questions/3874436/what-is-the-meaning-of-this-fiddler-icon

The issue caused my program makes wrong assumption that the response was failed. Some API calls can only make once and second tries would be invalid.

pwyq commented

An aborted example:

SESSION STATE: Aborted.
Response Entity Size: 194 bytes.

== FLAGS ==================
BitFlags: [ClientPipeReused] 0x8
X-ABORTED-WHEN: SendingResponse
X-CLIENTIP: ::ffff:127.0.0.1
X-CLIENTPORT: 4009
X-EGRESSPORT: 4176
X-HOSTIP: 119.3.48.116
X-PROCESSINFO: python:16280
X-RESPONSEBODYTRANSFERLENGTH: 205
X-RETRYONFAILEDRECEIVE: *
X-SERVERSOCKET: REUSE ServerPipe#1528*NEW*

== TIMING INFO ============
ClientConnected:	02:31:26.508
ClientBeginRequest:	02:40:53.771
GotRequestHeaders:	02:40:53.771
ClientDoneRequest:	02:40:53.771
Determine Gateway:	0ms
DNS Lookup: 		1207ms
TCP/IP Connect:	1313ms
HTTPS Handshake:	0ms
ServerConnected:	02:41:03.283
FiddlerBeginRequest:	02:41:03.283
ServerGotRequest:	02:41:03.283
ServerBeginResponse:	02:41:00.760
GotResponseHeaders:	02:41:04.326
ServerDoneResponse:	02:41:04.326
ClientBeginResponse:	02:41:04.326
ClientDoneResponse:	02:41:04.326

	Overall Elapsed:	0:00:10.555

The response was buffered before delivery to the client.

== WININET CACHE INFO ============
This URL is not present in the WinINET cache. [Code: 2]
* Note: Data above shows WinINET's current cache state, not the state at the time of the request.
* Note: Data above shows WinINET's Medium Integrity (non-Protected Mode) cache only.

An success transmitted

SESSION STATE: Done.
Response Entity Size: 208 bytes.

== FLAGS ==================
BitFlags: [ClientPipeReused, ServerPipeReused] 0x18
UI-BACKCOLOR: Yellow
UI-OLDCOLOR: WindowText
X-CLIENTIP: ::ffff:127.0.0.1
X-CLIENTPORT: 1428
X-EGRESSPORT: 1446
X-HOSTIP: 119.3.48.116
X-PROCESSINFO: python:18120
X-RESPONSEBODYTRANSFERLENGTH: 219
X-SERVERSOCKET: REUSE ServerPipe#50

== TIMING INFO ============
ClientConnected:	01:05:34.063
ClientBeginRequest:	01:06:57.456
GotRequestHeaders:	01:06:57.456
ClientDoneRequest:	01:06:57.456
Determine Gateway:	0ms
DNS Lookup: 		0ms
TCP/IP Connect:	0ms
HTTPS Handshake:	0ms
ServerConnected:	01:06:40.317
FiddlerBeginRequest:	01:06:57.456
ServerGotRequest:	01:06:57.456
ServerBeginResponse:	01:06:57.830
GotResponseHeaders:	01:06:57.830
ServerDoneResponse:	01:06:57.830
ClientBeginResponse:	01:06:57.830
ClientDoneResponse:	01:06:57.830

	Overall Elapsed:	0:00:00.373

The response was buffered before delivery to the client.

== WININET CACHE INFO ============
This URL is not present in the WinINET cache. [Code: 2]
* Note: Data above shows WinINET's current cache state, not the state at the time of the request.
* Note: Data above shows WinINET's Medium Integrity (non-Protected Mode) cache only.