mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
update vendor/ dir to latest w/o heroku, moby
had to lock a lot of things in place
This commit is contained in:
2
vendor/github.com/go-openapi/runtime/middleware/validation_test.go
generated
vendored
2
vendor/github.com/go-openapi/runtime/middleware/validation_test.go
generated
vendored
@@ -114,6 +114,8 @@ func TestValidateContentType(t *testing.T) {
|
||||
{"text/html; charset=utf-8", []string{"application/json"}, errors.InvalidContentType("text/html; charset=utf-8", []string{"application/json"})},
|
||||
{"application(", []string{"application/json"}, errors.InvalidContentType("application(", []string{"application/json"})},
|
||||
{"application/json;char*", []string{"application/json"}, errors.InvalidContentType("application/json;char*", []string{"application/json"})},
|
||||
{"application/octet-stream", []string{"image/jpeg", "application/*"}, nil},
|
||||
{"image/png", []string{"*/*", "application/json"}, nil},
|
||||
}
|
||||
|
||||
for _, v := range data {
|
||||
|
||||
Reference in New Issue
Block a user