This repository was archived by the owner on Jul 9, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ private async Task HandleHttpSessionResponse(SessionEventArgs args)
3636 await Handle401UnAuthorized ( args ) ;
3737 }
3838
39+ response . OriginalHasBody = response . HasBody ;
40+
3941 //if user requested call back then do it
4042 if ( ! response . Locked )
4143 {
@@ -44,9 +46,9 @@ private async Task HandleHttpSessionResponse(SessionEventArgs args)
4446
4547 // it may changed in the user event
4648 response = args . WebSession . Response ;
47-
49+
4850 var clientStreamWriter = args . ProxyClient . ClientStreamWriter ;
49-
51+
5052 if ( response . TerminateResponse || response . Locked )
5153 {
5254 await clientStreamWriter . WriteResponseAsync ( response ) ;
@@ -64,7 +66,7 @@ private async Task HandleHttpSessionResponse(SessionEventArgs args)
6466
6567 return ;
6668 }
67-
69+
6870 //if user requested to send request again
6971 //likely after making modifications from User Response Handler
7072 if ( args . ReRequest )
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ internal async Task Handle401UnAuthorized(SessionEventArgs args)
130130 //Should we cache all Set-Cokiee headers from server during auth process
131131 //and send it to client after auth?
132132
133- // Let ReposnseHandler send the updated request
133+ // Let ResponseHandler send the updated request
134134 args . ReRequest = true ;
135135 }
136136 }
You can’t perform that action at this time.
0 commit comments