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 6, 2012
1 parent 456500e commit 67d1a54
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 67d1a54

Please sign in to comment.