passbe/beef-migration-test-2 — Issue #16: POST requests cannot be sent through requester
Author: passbe
Created: 2011-12-05 07:55:39+00:00
State: open

The sink: http.content_length = request.content_length
request object does not contain the content_length (nil to integer exception).

Additionally, the code added to validate that the raw request is flawed because it's expecting request headers in a determined position.

For example, it cannot be predicted if the Host header is the first one (some browsers put other headers first): anyway the code is (wrongly) supposing this.

This is actually not working from the start as I can see from the SVN history.

Original link: http://code.google.com/p/beef/issues/detail?id=486