Skip to content

Multiple Response Status Headers Are Ignored #27

Description

@Luidog

Wrong Status Code

There seems to be an issue parsing the multiple status response codes from the $responseHeader variable. Generator is only grabbing the first response code in the header. If a request contains a large amount of data (1024) the 100 continue response is recorded rather than the final status code.

Here are is an example of a large request that fails to show the final response code:

Generator-Bug.fmp12.zip

Here is a proposed patch:

Generator-Patch.fmp12.zip

The patch would apply lines 125- 140 of the "HTTP Native ( { request } )" script.

Credit to Eden Morris for helping me debug this issue and write the patch! (and general dev awesomeness)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions