MyGit

v1.6.2

gorilla/mux

版本发布时间: 2018-05-13 11:28:55

gorilla/mux最新发布版本:v1.8.1(2023-11-05 10:14:50)

Adds the CORSMethodMiddleware middleware, which allows package users to automatically generate a Access-Control-Allow-Methods HTTP response header based on which methods are configured for a given route. This is useful when dealing with cross-origin requests, and can be easily enabled via router.Use(mux.CORSMethodMiddleware).

This release otherwise includes documentation fixes and improvements. We are always looking to improve the documentation for mux, and contributions are welcome!

CHANGELOG e3702be [docs] Improve docstrings for middleware, skipclean (#375) fdeb7bc [docs] Doc fix for testing variables in path (#374) 5e55a4a Add CORSMethodMiddleware (#366) ded0c29 Fix linter issues (docs) (#370) b57cb16 [build] Update Go versions; add 1.10.x (#364) 94231ff Fix table-driven example documentation (#363) 4dbd923 Make Use() variadic (#355) 07ba1fd Modify http status code to variable in README (#350) d284fd8 Modify 403 status code to const variable (#349)

相关地址:原始地址 下载(tar) 下载(zip)

查看:2018-05-13发行的版本