David Precious

Results 50 comments of David Precious

As far as I can see, the files aren't locked - the problem is that Windows denies any attempt to delete a file it considers open.

Looking at the test code, is the problem the fact that the Dancer::Upload objects will hold active file handles, so when the HTTP::Body object is undef'd, the filehandles are still...

The changes will need to be merged to Dancer2's documentation, too, of course :)

Sure, that would be appreciated if you.have a moment!

I'm pretty sure that you need to point ScriptAlias at a dispatch.cgi script like the one generated for you when you scaffold an app, which uses Plack::Runner to run the...

Could do with updating the docs a bit; they've been improved, and mention using a dispatch.cgi, but I think they need to be more clear that it should be the...

Ah, Dancer::Request->forward() doesn't copy the raw body over, but it does copy the deserialized params over, so dumping the deserialised value: ```perl #!/usr/bin/env perl use 5.012; use Dancer; use DDP;...

So, the impact looks limited - params will be retained etc, but the raw body may not be. @fleetfootmike points out that it also causes a spurious deserialisation error at...

The lack of the body on a forwarded request is the real issue, though. OTTOMH, a simple fix should be to add ``$new_request->{_http_body} = $request->{_http_body}` to `D::Request->forward()`

Pastebin provided by @neniu containing a dump of the `Dancer::Request` object: http://pastebin.com/7b2fQWJ3