Skip to content

Commit 2797f70

Browse files
committed
Merge pull request #310 from vladimiryardan/AddingStatusCodeOnTaffyRequestEnd
Adding Status code onTaffyRequestEnd
2 parents 2e3e896 + c89c0e4 commit 2797f70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/api.cfc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<cfargument name="matchedURI" />
3535
<cfargument name="parsedResponse" />
3636
<cfargument name="originalResponse" />
37+
<cfargument name="statusCode" />
3738
<cfreturn true />
3839
</cffunction>
3940

@@ -491,6 +492,7 @@
491492
,local.parsed.matchDetails.srcUri
492493
,structKeyExists( _taffyRequest, 'resultSerialized' ) ? _taffyRequest.resultSerialized : ''
493494
,structKeyExists( _taffyRequest, 'result' ) ? _taffyRequest.result.getData() : {}
495+
,_taffyRequest.statusArgs.statusCode
494496
) />
495497
<cfset m.otreTime = getTickCount() - m.beforeOnTaffyRequestEnd />
496498
<cfheader name="X-TIME-IN-ONTAFFYREQUESTEND" value="#m.otreTime#" />

0 commit comments

Comments
 (0)