[Jifty-commit] r6397 - in jifty/trunk: lib/Jifty
Jifty commits
jifty-commit at lists.jifty.org
Sat Feb 21 03:08:35 EST 2009
Author: alexmv
Date: Sat Feb 21 03:08:35 2009
New Revision: 6397
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Handler.pm
jifty/trunk/lib/Jifty/Web.pm
Log:
r42421 at kohr-ah: chmrr | 2009-02-21 03:07:55 -0500
Clean up edge cases with request_method
Modified: jifty/trunk/lib/Jifty/Handler.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Handler.pm (original)
+++ jifty/trunk/lib/Jifty/Handler.pm Sat Feb 21 03:08:35 2009
@@ -221,7 +221,7 @@
for ( Jifty->plugins ) {
$_->new_request;
}
- $self->log->info( $self->apache->method . " request for " . Jifty->web->request->path );
+ $self->log->info( Jifty->web->request->request_method . " request for " . Jifty->web->request->path );
Jifty->web->setup_session;
Jifty::I18N->get_language_handle;
Modified: jifty/trunk/lib/Jifty/Web.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Web.pm (original)
+++ jifty/trunk/lib/Jifty/Web.pm Sat Feb 21 03:08:35 2009
@@ -735,7 +735,7 @@
# PATH_INFO, which is what $request->path is normally set to.
# We should replicate that here.
$request->path( URI::Escape::uri_unescape( $page->url ) );
-
+ $request->request_method("GET"); # ..effectively.
$request->continuation($self->request->continuation);
my $cont = Jifty::Continuation->new(
request => $request,
More information about the Jifty-commit
mailing list