passbe/beef-migration-test-3 — Issue #16: POST requests cannot be sent through requester
Author: passbe
Created: 2011-12-08 22:48:57+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.
Google Code Issue: http://code.google.com/p/beef/issues/detail?id=486