mirror of
https://github.com/soypat/lneto.git
synced 2026-08-20 06:29:03 +00:00
massive documentation push and code reordering in files
This commit is contained in:
@@ -202,7 +202,7 @@ func TestRouterRequestVisibleToHandler(t *testing.T) {
|
||||
var gotMethod, gotURI, gotHost string
|
||||
sm.Handle("GET /index.html", func(ex *Exchange) {
|
||||
gotMethod = string(ex.RequestMethod())
|
||||
gotURI = string(ex.RequestURI())
|
||||
gotURI = string(ex.RequestTarget())
|
||||
gotHost = string(ex.RequestHeader("Host"))
|
||||
ex.WriteHeader(200)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user