mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
* WIP: add k8s grouper - This shares a great deal of behaviour with allGrouper. Once it's tested, refactor that to share as much as possible - Glide hell. Checked in the yaml and lock files but a glide i -v will be required to bring vendor/ up-to-date. Will address once this is ready. * Update README. Make the watch tracking work. (To follow: add the junk that was pulled in via the glide update.) * Vendor updates. * go fmt * Use the allGrouper with a k8s-backed DBStore instead. This is much tidier :-) * Fix up go vet
31 lines
1.5 KiB
Go
31 lines
1.5 KiB
Go
package restful
|
|
|
|
// Copyright 2013 Ernest Micklei. All rights reserved.
|
|
// Use of this source code is governed by a license
|
|
// that can be found in the LICENSE file.
|
|
|
|
const (
|
|
MIME_XML = "application/xml" // Accept or Content-Type used in Consumes() and/or Produces()
|
|
MIME_JSON = "application/json" // Accept or Content-Type used in Consumes() and/or Produces()
|
|
MIME_OCTET = "application/octet-stream" // If Content-Type is not present in request, use the default
|
|
|
|
HEADER_Allow = "Allow"
|
|
HEADER_Accept = "Accept"
|
|
HEADER_Origin = "Origin"
|
|
HEADER_ContentType = "Content-Type"
|
|
HEADER_LastModified = "Last-Modified"
|
|
HEADER_AcceptEncoding = "Accept-Encoding"
|
|
HEADER_ContentEncoding = "Content-Encoding"
|
|
HEADER_AccessControlExposeHeaders = "Access-Control-Expose-Headers"
|
|
HEADER_AccessControlRequestMethod = "Access-Control-Request-Method"
|
|
HEADER_AccessControlRequestHeaders = "Access-Control-Request-Headers"
|
|
HEADER_AccessControlAllowMethods = "Access-Control-Allow-Methods"
|
|
HEADER_AccessControlAllowOrigin = "Access-Control-Allow-Origin"
|
|
HEADER_AccessControlAllowCredentials = "Access-Control-Allow-Credentials"
|
|
HEADER_AccessControlAllowHeaders = "Access-Control-Allow-Headers"
|
|
HEADER_AccessControlMaxAge = "Access-Control-Max-Age"
|
|
|
|
ENCODING_GZIP = "gzip"
|
|
ENCODING_DEFLATE = "deflate"
|
|
)
|