mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 02:31:04 +01:00
fix typo
This commit is contained in:
parent
ab5398d213
commit
1ac3db82ac
|
@ -6,19 +6,19 @@ func negotiationMatch(in []string, priorities []string) string {
|
||||||
// e.g.
|
// e.g.
|
||||||
// match json:
|
// match json:
|
||||||
// in: text/html, application/json
|
// in: text/html, application/json
|
||||||
// prioritities: application/json
|
// priorities: application/json
|
||||||
// not match:
|
// not match:
|
||||||
// in: text/html, application/json
|
// in: text/html, application/json
|
||||||
// prioritities: text/xml
|
// priorities: text/xml
|
||||||
// match html:
|
// match html:
|
||||||
// in: text/html, application/json
|
// in: text/html, application/json
|
||||||
// prioritities: */*
|
// priorities: */*
|
||||||
// not match:
|
// not match:
|
||||||
// in: application/json
|
// in: application/json
|
||||||
// prioritities: text/xml
|
// priorities: text/xml
|
||||||
// match json:
|
// match json:
|
||||||
// in: text/html, application/*
|
// in: text/html, application/*
|
||||||
// prioritities: application/json
|
// priorities: application/json
|
||||||
|
|
||||||
if len(priorities) == 0 {
|
if len(priorities) == 0 {
|
||||||
return ""
|
return ""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user