Permalink
Browse files

Redundant (and actually failed) assert removed

  • Loading branch information...
1 parent 3b0569b commit c33fb252284122002f9eb07b214671421f25d38f @shafirov shafirov committed Mar 15, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/KaraLib/src/kara/controllers/Request.kt
@@ -22,7 +22,6 @@ public open class Request(private val handler: ActionContext.() -> ActionResult)
public fun toExternalForm() : String {
val (route, method) = javaClass.route()
- if (method != HttpMethod.GET) throw RuntimeException("External form only supported for GET requests")
val answer = StringBuilder()

0 comments on commit c33fb25

Please sign in to comment.