Broken connection filters (was: Transforming request to HTTP/1.1)

2006-08-01 Thread Radoslaw Zielinski
Radoslaw Zielinski <[EMAIL PROTECTED]> [31-07-2006 18:20]: [...] > But... this doesn't quite work. $r->protocol for these requests > contains "HTTP/0.9". The difference is: HTTP headers are neither [...] > I know I could get it done using filters, but writing them is a pain... Well, I wrote a co

Transforming request to HTTP/1.1

2006-07-31 Thread Radoslaw Zielinski
Hello, I'm trying to transform a not-really-HTTP request (first line containing method differs) to HTTP using PerlTransHandler, like this: sub Trans::handler { my ($r) = @_; my $method = $r->method; if ($r->method eq 'FOO') { $r->server->method_register($method); $r->met