Skip to content
Browse files

starting to fill in request stuff

  • Loading branch information...
1 parent c6faf9a commit c051a8db96e20be7f9ef84b04129185bb5a24894 @jrwest committed Feb 23, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/main/scala/com/something/lift/NothingServerHandler.scala
View
6 src/main/scala/com/something/lift/NothingServerHandler.scala
@@ -194,12 +194,12 @@ class NettyHttpRequest extends HTTPRequest {
/**
* @return - the MIME type of the body of the request. Empty if this is unknonwn.
*/
- def contentType: Box[String] = throw new Exception("Implement me")
+ def contentType: Box[String] = Empty //FIXME // throw new Exception("Implement me")
/**
* @return - the request URI
*/
- def uri: String = throw new Exception("Implement me")
+ def uri: String = request.getUri // throw new Exception("Implement me")
/**
* @return - the request URL
@@ -276,7 +276,7 @@ class NettyHttpRequest extends HTTPRequest {
/**
* @return - the HTTP method: GET, POST etc.
*/
- def method: String = throw new Exception("Implement me")
+ def method: String = request.getMethod.toString
/**
* @return true if the underlying container supports suspend/resume idiom.

0 comments on commit c051a8d

Please sign in to comment.
Something went wrong with that request. Please try again.