An open API service indexing awesome lists of open source software.

https://github.com/masterminds/httputil

Framework-free HTTP utilities
https://github.com/masterminds/httputil

Last synced: 3 months ago
JSON representation

Framework-free HTTP utilities

Awesome Lists containing this project

README

          

# httputil: Make better web apps without frameworks

This library provides utilities for building better web tools, but
without buying into a framework.

## Resolver

The Resolver is a tool to assist HTTP applications resolve from a
request to a route.

For example, you may wish to define a route like this:

```
GET /foo/*/bar
```

That route will handle any requests that come in and match the given
pattern. When a request comes in for `GET /foo/123/bar`, it should be
matched to the route above.

The `httputil.Resolver` provides this capability.

## Notes

Parts of this library were extracted from Cookoo and refactored.