Skip to content

Commit

Permalink
Remove CONTENT_TYPE when redirecting, close #808
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephane Landelle committed Nov 19, 2012
1 parent f4272aa commit 5af3d0e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ class GatlingAsyncHandlerActor(

val newRequest = requestBuilder.build
newRequest.getHeaders.remove(HeaderNames.CONTENT_LENGTH)
newRequest.getHeaders.remove(HeaderNames.CONTENT_TYPE)

val newRequestName = requestName match {
case GatlingAsyncHandlerActor.REDIRECTED_REQUEST_NAME_PATTERN(requestBaseName, redirectCount) =>
Expand Down

0 comments on commit 5af3d0e

Please sign in to comment.