Fix handling of responses with an empty body #1

merged 1 commit into from Jul 2, 2013

2 participants


Without this change the injector causes 'undefined' string to be returned (with no headers and not status code) instead of an empty response (for example 204: no content).

Wireshark dump:

DELETE /foo/bar/ HTTP/1.1
Host: localhost:3000
Accept: /
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive


@daffl daffl merged commit 79f12d4 into daffl:master Jul 2, 2013

1 check passed

Details default The Travis CI build passed

Awesome thank you! I will push a new release.

wrr commented Jul 7, 2013

Thanks you for accepting this. Will you be able to do a release in a next couple of days?


Done. Release version 0.2.2

wrr commented Jul 7, 2013


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