-
I think ` ` (whitespace) should be encoded as `%20`,which will works on `URL` that contains whitespaces.
I test on `julienschmidt/httprouter`,the `http://127.0.0.1:3000/hell o/name` works, but `m…
-
When calling PaginatedFindAll with query page[size]=0, the server returns the following error:
```
http: panic serving 172.24.0.1:41332: runtime error: integer divide by zero
goroutine 260 [runni…
-
Hey there. Just found this issue:
```
package main
import (
"net/http"
"github.com/julienschmidt/httprouter"
)
func main() {
router := httprouter.New()
router.GET(
"/networks…
-
Hi Julien,
I just set up a project called [Swugger](https://github.com/laher/swugger) to show how swagger support might be acheived for httprouter. It's working, and it uses go-restful's swagger sup…
-
On vocdoni-node branch dev, using cometbft v1.0.0-alpha.1
```
2024-01-16T13:11:22.576Z ERR vochain/cometbft.go:216 > checkTx error="voteTx: process 63f57be98f80079bd064d886b7198f4a4c110a17a8f8f8f8…
-
I am using httprouter in a project and I now need to make it work with the go http server to serve image files from a few different directories, for example:
images in path1: `/root/path1/to/images…
-
```kotlin
fun router(init: RouterSpec.() -> Unit) {
val router = HttpRouter()
router.isHotDeploy = false
RouterSpec(router).init()
router.start()
}
```
-
@effect/platform allows middleware at the request, router and server level. It would be really neat to do the same here with ApiGroups or RouterBuilder.handle for an individual route
-
Currently it is impossible to do the following with httprouter:
``` go
router := httprouter.New()
router.Handle("GET", "/*path", proxy)
router.Handle("GET", "/api", api)
```
This makes it impossible…
-
I've built some extras around httprouter which would work much nicer if `Lookup(method, path)` would include the `.HandleOPTIONS` functionality that `ServeHTTP` has.
### Use Case
I have user perm…