Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🤖 Update from upstream repository gorilla/mux #4

Open
wants to merge 90 commits into
base: master
Choose a base branch
from

Commits on Nov 4, 2017

  1. [build] Allow tip failures (#312)

    [build] Allow tip failures
    elithrar authored Nov 4, 2017
    Configuration menu
    Copy the full SHA
    bc452d9 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2017

  1. [docs] Document router.Match (#313)

    * Document router.Match
    
    The return values are getting confusing. Hopefully this helps.
    
    * Simplify some language.
    
    * Remove double the
    kisielk authored and elithrar committed Nov 5, 2017
    Configuration menu
    Copy the full SHA
    9f48112 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f08801 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2017

  1. [docs] fix outdated UseEncodedPath method docs (#314)

    #306 changed UseEncodedPath to use native go encoded path handling so cautions in it's docs are no longer applicable.
    chrisdostert authored and elithrar committed Nov 9, 2017
    Configuration menu
    Copy the full SHA
    2d5fef0 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2017

  1. [bugfix] Fix method subrouter handler matching (#300) (#317)

    * Test method-based subrouters for multiple matching paths
    
    * Pass TestMethodsSubrouter
    
    * Change http.Method* constants to string literals
    - Make compatible with Go v1.5
    
    * Make TestMethodsSubrouter stateless and concurrent
    
    * Remove t.Run and break up tests for concurrency
    
    * Use backticks to remove quote escaping
    
    * Remove global method handlers and HTTP method constants
    mtso authored and kisielk committed Nov 28, 2017
    Configuration menu
    Copy the full SHA
    4a3d4f3 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2017

  1. Configuration menu
    Copy the full SHA
    65ec724 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2017

  1. [docs] Note StrictSlash re-direct behaviour #308 (#321)

    * [docs] Note StrictSlash re-direct behaviour #308
    
    * StrictSlash enabled routes return a 301 to the client
    * As per the HTTP standards, non-idempotent methods, such as POST or PUT, will be followed with a GET by the client
    * Users should use middleware if they wish to change this behaviour to return a HTTP 308.
    
    * Update description of StrictSlash
    elithrar authored and kisielk committed Dec 2, 2017
    Configuration menu
    Copy the full SHA
    c572efe View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2017

  1. [docs] Add example usage for Route.HeadersRegexp (#320)

    * Add example usage for Route.HeadersRegexp
    
    * Improve example_route_test.go style
    mtso authored and kisielk committed Dec 4, 2017
    Configuration menu
    Copy the full SHA
    7904d2e View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2017

  1. Public test API to set URL params (#322)

    * Add a function to set url params for test
    
    * [docs] add justification for SetURLVars and description of alternative approach to setting url vars.
    * rename SetURLParams to SetURLVars as this is more descriptive.
    * rename testing to testing_helpers as this is more descriptive.
    
    * [docs] add stipulation to SetURLVars that it should only be used for testing purposes
    grim-fendango authored and kisielk committed Dec 8, 2017
    Configuration menu
    Copy the full SHA
    5ab525f View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2018

  1. refactor routeRegexp, particularily newRouteRegexp. (#328)

    The existing options matchPrefix, matchHost, and matchQueries are
    mutually exclusive so there's no point in having a separate boolean
    argument for each one. It's clearer if there's a single type variable.
    
    strictSlash and useEncodedPath were also being passed as naked bools so
    I've wrapped these in a struct called routeRegexpOptions for more clarity
    at the call site.
    kisielk authored Jan 5, 2018
    Configuration menu
    Copy the full SHA
    512169e View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2018

  1. Configuration menu
    Copy the full SHA
    5bbbb5b View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2018

  1. [feat] Add middleware support as discussed in #293 (#294)

    * mux.Router now has a `Use` method that allows you to add middleware to request processing.
    roobre authored and elithrar committed Jan 16, 2018
    Configuration menu
    Copy the full SHA
    53c1911 View commit details
    Browse the repository at this point in the history
  2. Make shutdown docs compilable (#330)

    kushmansingh authored and kisielk committed Jan 16, 2018
    Configuration menu
    Copy the full SHA
    0b74e3d View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2018

  1. Configuration menu
    Copy the full SHA
    85e6bff View commit details
    Browse the repository at this point in the history
  2. [docs] Fix Middleware docs typos (#332)

    elithrar authored and kisielk committed Jan 17, 2018
    Configuration menu
    Copy the full SHA
    63c5c2f View commit details
    Browse the repository at this point in the history
  3. [docs] Add testing example (#331)

    elithrar authored and kisielk committed Jan 17, 2018
    Configuration menu
    Copy the full SHA
    69dae3b View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2018

  1. [docs] Fix doc.go (#333)

    Addresses #294 (comment)
    elithrar authored Jan 18, 2018
    Configuration menu
    Copy the full SHA
    ad87908 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2018

  1. README.md: add miss "time" (#336)

    safeoy authored and kisielk committed Jan 20, 2018
    Configuration menu
    Copy the full SHA
    3dbb9ed View commit details
    Browse the repository at this point in the history
  2. [docs] README.md: Improve "walking routes" example. (#337) (#323)

    Fixes #323.
    
    Also removed the duplicate "listing routes" example.
    kisielk authored and elithrar committed Jan 20, 2018
    Configuration menu
    Copy the full SHA
    dc83507 View commit details
    Browse the repository at this point in the history
  3. [docs] Document route.Get* methods consistently (#338)

    They actually return an error instead of an empty list. `GetMethods` happened to not return an error, but it should for consistency, so I added that as well.
    kisielk authored and elithrar committed Jan 20, 2018
    Configuration menu
    Copy the full SHA
    077b44c View commit details
    Browse the repository at this point in the history
  4. [docs] Clarify SetURLVars (#335)

    * [docs] Clarify SetURLVars
    
    Clarify in documentation that SetURLVars does not modify the given
    *htttp.Request, provide an example of usage.
    
    * Short and sweet function doc, example test.
    fharding1 authored and kisielk committed Jan 20, 2018
    Configuration menu
    Copy the full SHA
    0fdf828 View commit details
    Browse the repository at this point in the history
  5. Create authentication middleware example. (#340)

    * Create authentication middleware example.
    
    For #339
    
    * Fix example test filename.
    kisielk authored Jan 20, 2018
    Configuration menu
    Copy the full SHA
    c0091a0 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2018

  1. Modify 403 status code to const variable (#349)

    * Modify http status code to variable
    
    * Modify doc
    KimMachineGun authored and elithrar committed Feb 25, 2018
    Configuration menu
    Copy the full SHA
    d284fd8 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2018

  1. Modify http status code to variable in README (#350)

    * Modify http status code to variable
    
    * Modify doc
    
    * Modify README
    KimMachineGun authored and kisielk committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    07ba1fd View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2018

  1. Make Use() variadic (#355)

    Enables neater syntax when chaining several middleware functions.
    jsvensson authored and kisielk committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    4dbd923 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2018

  1. Fix table-driven example documentation (#363)

    Prior to this change, the example documentation
    found in the README.md has an errant code which
    won't work in the table-driven code example.
    
    This change modifies the variable name from `t` to `tc`
    so it does not conflict with the `t *testing.T` struct
    definition.
    
    * Adds a range clause to the `for` statement
    * Modifies `for` statement scope to use `tc.shouldPass`, and `tc.routeVariable`
    
    Doc: https://github.com/gorilla/mux#testing-handlers
    brandon-height authored and kisielk committed Apr 3, 2018
    Configuration menu
    Copy the full SHA
    94231ff View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2018

  1. Configuration menu
    Copy the full SHA
    b57cb16 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2018

  1. Configuration menu
    Copy the full SHA
    ded0c29 View commit details
    Browse the repository at this point in the history

Commits on May 12, 2018

  1. Add CORSMethodMiddleware (#366)

    CORSMethodMiddleware sets the Access-Control-Allow-Methods response header
    on a request, by matching routes based only on paths. It also handles
    OPTIONS requests, by settings Access-Control-Allow-Methods, and then
    returning without calling the next HTTP handler.
    fharding1 authored and elithrar committed May 12, 2018
    Configuration menu
    Copy the full SHA
    5e55a4a View commit details
    Browse the repository at this point in the history

Commits on May 13, 2018

  1. [docs] Doc fix for testing variables in path (#374)

    The example in the README does not pass the request through a mux therefore the request variables from the path are never populated. Update the sample to create a minimum viable router to use.
    
    Fixes #373
    swalberg authored and elithrar committed May 13, 2018
    Configuration menu
    Copy the full SHA
    fdeb7bc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e3702be View commit details
    Browse the repository at this point in the history

Commits on May 17, 2018

  1. Configuration menu
    Copy the full SHA
    c856192 View commit details
    Browse the repository at this point in the history

Commits on May 26, 2018

  1. Initialize user map (#371)

    kalafut authored and kisielk committed May 26, 2018
    Configuration menu
    Copy the full SHA
    e0b5aba View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2018

  1. Update LICENSE & AUTHORS files. (#386)

    elithrar authored and kisielk committed Jun 5, 2018
    Configuration menu
    Copy the full SHA
    cb46983 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2018

  1. Configuration menu
    Copy the full SHA
    815b8c6 View commit details
    Browse the repository at this point in the history
  2. Add test for multiple calls to Name().

    Fixes #394
    kisielk committed Aug 7, 2018
    Configuration menu
    Copy the full SHA
    e48e440 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2018

  1. Add 1.11 to build in travis (#398)

    yershalom authored and elithrar committed Aug 30, 2018
    Configuration menu
    Copy the full SHA
    962c5be View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2018

  1. Drop support for Go < 1.7: remove gorilla/context (#391)

    * Drop support for Go < 1.7: remove gorilla/context
    * Remove Go < 1.7 from Travis CI config
    * Remove unneeded _native from context files
    fharding1 authored and elithrar committed Sep 2, 2018
    Configuration menu
    Copy the full SHA
    8771f97 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cf6680b View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2018

  1. Always run on the latest stable Go version. (#402)

    Only run vet on the latest Go version.
    elithrar authored and kisielk committed Sep 3, 2018
    Configuration menu
    Copy the full SHA
    9e1f595 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2018

  1. README.md: Update site URL

    kisielk authored Oct 12, 2018
    Configuration menu
    Copy the full SHA
    deb579d View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2018

  1. Configuration menu
    Copy the full SHA
    521ea7b View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2018

  1. Use subtests in mux_test.go (#415)

    kanozec authored and kisielk committed Oct 30, 2018
    Configuration menu
    Copy the full SHA
    3d80bc8 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2018

  1. Improve subroute configuration propagation #422

    * Pull out common shared `routeConf` so that config is pushed on to child
    routers and routes.
    * Removes obsolete usages of `parentRoute`
    * Add tests defining compositional behavior
    * Exercise `copyRouteConf` for posterity
    jwilner authored and elithrar committed Dec 7, 2018
    Configuration menu
    Copy the full SHA
    758eb64 View commit details
    Browse the repository at this point in the history
  2. Add stalebot config (#424)

    elithrar authored and kisielk committed Dec 7, 2018
    Configuration menu
    Copy the full SHA
    419fd9f View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2018

  1. Configuration menu
    Copy the full SHA
    d2b5d13 View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2018

  1. remove redundant code that remove support gorilla/context (#427)

    * remove redundant code that remove support gorilla/context
    
    * backward compatible for remove redundant code
    alimy authored and elithrar committed Dec 17, 2018
    Configuration menu
    Copy the full SHA
    6137e19 View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2018

  1. Replace domain.com with example.com (#434)

    Because domain.com is an actual business, example.com should be used for example purposes.
    RaeesBhatti authored and kisielk committed Dec 25, 2018
    Configuration menu
    Copy the full SHA
    a31c178 View commit details
    Browse the repository at this point in the history

Commits on Dec 28, 2018

  1. [bugfix] Clear matchErr when traversing subrouters.

    Previously, when searching for a match, matchErr would be erroneously set, and prevent middleware from running (no match == no middleware runs).
    
    This fix clears matchErr before traversing the next subrouter in a multi-subrouter router.
    tomare authored and elithrar committed Dec 28, 2018
    Configuration menu
    Copy the full SHA
    ef912dd View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2019

  1. getHost() now returns full host & port information (#383)

    Previously, getHost only returned the host. As it now returns the
    port as well, any .Host matches on a route will need to be updated
    to also support matching on the port for cases where the port is
    non default, eg: 80 for http or 443 for https.
    santsai authored and elithrar committed Jan 4, 2019
    Configuration menu
    Copy the full SHA
    f3ff42f View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2019

  1. Ignore ErrNotFound while matching Subrouters (#438)

    MatchErr is set by the router to ErrNotFound if no route matches. If
    no route of a Subrouter matches the error can by safely ignored. This
    implementation only ignores these errors and does not ignore other
    errors like ErrMethodMismatch.
    g-w authored and elithrar committed Jan 8, 2019
    Configuration menu
    Copy the full SHA
    08e7f80 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2019

  1. Call WriteHeader after setting other header(s) in the example (#442)

    From the docs: Changing the header map after a call to WriteHeader (or
    Write) has no effect unless the modified headers are
    trailers.
    timucingelici authored and elithrar committed Jan 25, 2019
    Configuration menu
    Copy the full SHA
    797e653 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a796238 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2019

  1. [docs] typo (#454)

    souvikhaldar authored and elithrar committed Feb 17, 2019
    Configuration menu
    Copy the full SHA
    8559a4f View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2019

  1. fix go1.12 go vet usage (#458)

    seriousben authored and kisielk committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    8eaa9f1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    15a353a View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2019

  1. Configuration menu
    Copy the full SHA
    c5c6c98 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2019

  1. host:port matching does not require a :port to be specified.

    In lieu of checking the template pattern on every Match request, a bool is added to the routeRegexp, and set
    if the routeRegexp is a host AND there is no ":" in the template. I dislike extending the type, but I'd dislike
    doing a string match on every single Match, even more.
    cognusion authored and elithrar committed May 17, 2019
    Configuration menu
    Copy the full SHA
    ed099d4 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2019

  1. [WIP] Create CircleCI config (#484)

    * [ci] Create CircleCI config
    * Fix typos in container versions
    * Add CircleCI badge
    elithrar authored Jun 24, 2019
    Configuration menu
    Copy the full SHA
    212aa90 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2019

  1. Configuration menu
    Copy the full SHA
    4248f5c View commit details
    Browse the repository at this point in the history
  2. Delete .travis.yml (#490)

    elithrar authored Jun 28, 2019
    Configuration menu
    Copy the full SHA
    6495467 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2019

  1. Use subtests for middleware tests (#478)

    * Use subtests for middleware tests
    * Don't use subtests for MiddlewareAdd
    fharding1 authored and elithrar committed Jun 29, 2019
    Configuration menu
    Copy the full SHA
    48f941f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d70f7b4 View commit details
    Browse the repository at this point in the history
  3. Improve CORS Method Middleware (#477)

    * More sensical CORSMethodMiddleware
    
    * Only sets Access-Control-Allow-Methods on valid preflight requests
    * Does not return after setting the Access-Control-Allow-Methods header
    * Does not append OPTIONS header to Access-Control-Allow-Methods
    regardless of whether there is an OPTIONS method matcher
    * Adds tests for the listed behavior
    
    * Add example for CORSMethodMiddleware
    
    * Do not check for preflight and add documentation to the README
    
    * Use http.MethodOptions instead of "OPTIONS"
    
    * Add link to CORSMethodMiddleware section to readme
    
    * Add test for unmatching route methods
    
    * Rename CORS Method Middleware to Handling CORS Requests in README
    
    * Link CORSMethodMiddleware in README to godoc
    
    * Break CORSMethodMiddleware doc into bullets for readability
    
    * Add comment about specifying OPTIONS to example in README for CORSMethodMiddleware
    
    * Document cURL command used for testing CORS Method Middleware
    
    * Update comment in example to "Handle the request"
    
    * Add explicit comment about OPTIONS matchers to CORSMethodMiddleware doc
    
    * Update circleci config to only check gofmt diff on latest go version
    
    * Break up gofmt and go vet checks into separate steps.
    
    * Use canonical circleci config
    fharding1 authored and elithrar committed Jun 29, 2019
    Configuration menu
    Copy the full SHA
    0534769 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2019

  1. Update stale.yml (#494)

    elithrar authored Jun 30, 2019
    Configuration menu
    Copy the full SHA
    00bdffe View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2019

  1. Update config.yml (#495)

    * Update config.yml
    
    * Update config.yml
    elithrar authored Jul 1, 2019
    Configuration menu
    Copy the full SHA
    d83b6ff View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2019

  1. Avoid unnecessary conversion (#502)

    No need to convert here.
    muesli authored and elithrar committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    50fbc3e View commit details
    Browse the repository at this point in the history
  2. Simplify code (#501)

    Use a single append call instead of a ranged for loop.
    muesli authored and elithrar committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    eab9c4f View commit details
    Browse the repository at this point in the history
  3. [docs] Add documentation for using mux to serve a SPA (#493)

    * Add documentation for using mux to serve a SPA
    
    * r -> router to prevent shadowing
    
    * Expand SPA acronym
    
    * BrowserRouter link
    
    * Add more comments to explain how the spaHandler.ServeHTTP method works
    fharding1 authored and elithrar committed Jul 20, 2019
    Configuration menu
    Copy the full SHA
    7a1bf40 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e67b3c0 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2019

  1. Configuration menu
    Copy the full SHA
    e0cdff4 View commit details
    Browse the repository at this point in the history

Commits on Aug 26, 2019

  1. Configuration menu
    Copy the full SHA
    9536e40 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2019

  1. Configuration menu
    Copy the full SHA
    e1863a6 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2019

  1. Configuration menu
    Copy the full SHA
    884b5ff View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2019

  1. Guess the scheme if r.URL.Scheme is unset (#474)

    * Guess the scheme if r.URL.Scheme is unset
    It's not expected that the request's URL is fully populated when used on
    the server-side (it's more of a client-side field), so we shouldn't
    expect it to be present.
    
    In practice, it's only rarely set at all on the server, making mux's
    `Schemes` matcher tricky to use as it is.
    
    This commit adds a test which would have failed before demonstrating the
    problem, as well as a fix which I think makes `.Schemes` match what
    users expect.
    
    * [doc] Add more detail to Schemes and URL godocs
    
    * Add route url test for schemes
    
    * Make httpserver test use more specific scheme matchers
    
    * Update test to have different responses per route
    euank authored and elithrar committed Oct 18, 2019
    Configuration menu
    Copy the full SHA
    ff4e71f View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2019

  1. Remove/cleanup request context helpers (#525)

    * Remove context helpers in context.go
    * Update request context funcs to take concrete types
    * Move TestNativeContextMiddleware to mux_test.go
    * Clarify KeepContext Go 1.7+ comment
    
    Mux doesn't build on Go < 1.7 so the comment doesn't really need to
    clarify anymore.
    fharding1 authored and elithrar committed Oct 24, 2019
    Configuration menu
    Copy the full SHA
    f395758 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2019

  1. Fix the CORSMethodMiddleware bug with subrouters

    * Adds a test case for the repro given in issue #534
    * Fixes the logic in CORSMethodMiddleware to handle matching routes
    better
    fharding1 committed Nov 15, 2019
    Configuration menu
    Copy the full SHA
    946b623 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2019

  1. Merge pull request #535 from fharding1/cors-subrouter-bug

    Fix the CORSMethodMiddleware bug with subrouters
    elithrar authored Nov 17, 2019
    Configuration menu
    Copy the full SHA
    2854a05 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2019

  1. fix headers regexp test (#536)

    icattlecoder authored and elithrar committed Nov 19, 2019
    Configuration menu
    Copy the full SHA
    4de8a5a View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2019

  1. lint: Remove golint warning (#526)

    kveselkov authored and elithrar committed Nov 21, 2019
    Configuration menu
    Copy the full SHA
    49c0148 View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2020

  1. perf: reduce allocations in (*routeRegexp).getURLQuery (#544)

    A production server is seeing a significant amount of allocations in (*routeRegexp).getURLQuery
    
    Since it is only interested in a single value and only the first value we create a specialized function for that.
    
    Comparing a few parameter parsing scenarios:
    
    ```
    Benchmark_findQueryKey/0-8 	 7184014	       168 ns/op	       0 B/op	       0 allocs/op
    Benchmark_findQueryKey/1-8 	 5307873	       227 ns/op	      48 B/op	       3 allocs/op
    Benchmark_findQueryKey/2-8 	 1560836	       770 ns/op	     483 B/op	      10 allocs/op
    Benchmark_findQueryKey/3-8 	 1296200	       931 ns/op	     559 B/op	      11 allocs/op
    Benchmark_findQueryKey/4-8 	  666502	      1769 ns/op	       3 B/op	       1 allocs/op
    
    Benchmark_findQueryKeyGoLib/0-8 	 1740973	       690 ns/op	     864 B/op	       8 allocs/op
    Benchmark_findQueryKeyGoLib/1-8 	 3029618	       393 ns/op	     432 B/op	       4 allocs/op
    Benchmark_findQueryKeyGoLib/2-8 	  461427	      2511 ns/op	    1542 B/op	      24 allocs/op
    Benchmark_findQueryKeyGoLib/3-8 	  324252	      3804 ns/op	    1984 B/op	      28 allocs/op
    Benchmark_findQueryKeyGoLib/4-8 	   69348	     14928 ns/op	   12716 B/op	     130 allocs/op
    ```
    klauspost authored and elithrar committed Jan 12, 2020
    Configuration menu
    Copy the full SHA
    75dcda0 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2020

  1. docs: Remove stale text from comment. (#568)

    Comment for CurrentRoute claimed that setting the KeepContext option would propagate
    the Route even after the request. The KeepContext option is deprecated and has no effect.
    EricIO authored May 17, 2020
    Configuration menu
    Copy the full SHA
    948bec3 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2020

  1. fix: regression in vars extract for wildcard host (#579)

    Continuing from PR #447 we have to add extra
    check to ignore the port as well
    
    add tests to cover this case
    harshavardhana authored Jul 11, 2020
    Configuration menu
    Copy the full SHA
    98cb6bf View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2020

  1. build: CircleCI 2.1 + build matrix (#595)

    * build: CircleCI 2.1 + build matrix
    
    * build: drop Go 1.9 & Go 1.10
    
    * build: remove erroneous version
    elithrar authored Sep 12, 2020
    Configuration menu
    Copy the full SHA
    d07530f View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2021

  1. Configuration menu
    Copy the full SHA
    3cf0d01 View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2021

  1. docs: update README w.r.t new maintainer ask (#660)

    * Update README.md
    
    * build: gofmt on latest
    elithrar authored Dec 12, 2021
    Configuration menu
    Copy the full SHA
    91708ff View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2022

  1. regexp: use iota instead of hardcoded values for regexType* (#679)

    * regexp: use iota instead of hardcoded values
    michaelgrigoryan25 authored Jun 26, 2022
    Configuration menu
    Copy the full SHA
    c889844 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2022

  1. [docs] authenticationMiddleware initialization in the README.md f…

    …ile (#693)
    
    * initial commit
    
    * fix `README.md` - authenticationMiddleware initialization
    amustaque97 authored Aug 17, 2022
    Configuration menu
    Copy the full SHA
    07eedff View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2022

  1. archive mode

    elithrar authored Dec 9, 2022
    Configuration menu
    Copy the full SHA
    5e1e8c8 View commit details
    Browse the repository at this point in the history
  2. archive mode

    elithrar authored Dec 9, 2022
    Configuration menu
    Copy the full SHA
    eb99d7a View commit details
    Browse the repository at this point in the history