/dports/security/lego/lego-4.5.3/vendor/github.com/exoscale/egoscale/ |
H A D | zones_test.go | 15 ts := newTestServer(response{200, jsonContentType, ` 28 ts := newTestServer(response{200, jsonContentType, ` 65 ts := newTestServer(response{431, jsonContentType, ` 110 ts := newTestServer(response{200, jsonContentType, ` 178 ts := newTestServer(response{200, jsonContentType, ` 193 }}`}, response{200, jsonContentType, ` 208 }}`}, response{200, jsonContentType, ` 230 ts := newTestServer(response{200, jsonContentType, ` 245 }}`}, response{400, jsonContentType, `
|
H A D | request_test.go | 19 jsonContentType = "application/json" const 73 ts := newGetServer(params, jsonContentType, ` 145 `}, response{200, jsonContentType, ` 183 `}, response{200, jsonContentType, ` 223 `}, response{200, jsonContentType, ` 295 response{200, jsonContentType, `{ 332 response{200, jsonContentType, `{ 339 response{200, jsonContentType, `{ 392 response{200, jsonContentType, `{ 399 response{200, jsonContentType, `{ [all …]
|
H A D | runstatus_incident_test.go | 15 …p := response{200, jsonContentType, fmt.Sprintf(`{"subdomain": "testpage", "incidents_url": %q}`, … 16 r200 := response{200, jsonContentType, `ERROR`} 17 r400 := response{400, jsonContentType, `{"detail": "error"}`} 69 is := response{200, jsonContentType, ` 113 i := response{200, jsonContentType, `{ 118 p := response{200, jsonContentType, fmt.Sprintf(` 214 is := response{200, jsonContentType, fmt.Sprintf(` 259 p := response{200, jsonContentType, ` 319 ts := newTestServer(response{204, jsonContentType, ""}) 337 response{200, jsonContentType, fmt.Sprintf(`{"incidents_url": %q, "subdomain": "d"}`, ts.URL)}, [all …]
|
H A D | runstatus_maintenance_test.go | 15 …p := response{200, jsonContentType, fmt.Sprintf(`{"subdomain": "testpage", "services_url": %q}`, t… 16 r200 := response{200, jsonContentType, `ERROR`} 17 r400 := response{400, jsonContentType, `{"detail": "error"}`} 69 ms := response{200, jsonContentType, ` 129 m := response{200, jsonContentType, `{ 134 p := response{200, jsonContentType, fmt.Sprintf(`{ 246 ps := response{200, jsonContentType, fmt.Sprintf(`{ 305 ms := response{200, jsonContentType, ` 380 ts := newTestServer(response{204, jsonContentType, ""}) 398 response{200, jsonContentType, fmt.Sprintf(`{"maintenances_url": %q, "subdomain": "d"}`, ts.URL)}, [all …]
|
H A D | runstatus_service_test.go | 15 …p := response{200, jsonContentType, fmt.Sprintf(`{"subdomain": "testpage", "services_url": %q}`, t… 16 r200 := response{200, jsonContentType, `ERROR`} 17 r400 := response{400, jsonContentType, `{"detail": "error"}`} 69 ss := response{200, jsonContentType, ` 86 s := response{200, jsonContentType, fmt.Sprintf(`{"id": 1, "url": %q, "name": "API"}`, ts.URL)} 87 p := response{200, jsonContentType, fmt.Sprintf(`{ 150 ts := newTestServer(response{204, jsonContentType, ""}) 168 response{200, jsonContentType, fmt.Sprintf(`{"services_url": %q, "subdomain": "d"}`, ts.URL)}, 169 response{201, jsonContentType, `{"url": "...", "name": "hello"}`},
|
H A D | runstatus_page_test.go | 11 response{401, jsonContentType, `{"detail":"Invalid Authorization header"}`}, 28 response{401, jsonContentType, `{"foo":["bad mojo"]}`}, 44 ts := newTestServer(response{200, jsonContentType, ` 130 ts := newTestServer(response{200, jsonContentType, ` 221 p := response{200, jsonContentType, ` 227 ps := response{200, jsonContentType, fmt.Sprintf(` 283 p := response{200, jsonContentType, fmt.Sprintf(` 300 ps := response{200, jsonContentType, `
|
H A D | client_test.go | 92 response{200, jsonContentType, fmt.Sprintf(bodySuccessString, thing.name)}, 93 response{200, jsonContentType, fmt.Sprintf(bodySuccessBool, thing.name)}, 94 response{431, jsonContentType, fmt.Sprintf(bodyError, thing.name)}, 145 response{200, jsonContentType, fmt.Sprintf(body, thing.name)}, 146 response{400, jsonContentType, fmt.Sprintf(bodyError, thing.name)}, 261 response{200, jsonContentType, fmt.Sprintf(body, thing.name)}, 262 response{431, jsonContentType, bodyError}, 319 resp := response{200, jsonContentType, fmt.Sprintf(body, plural, thing.name)} 383 resp := response{200, jsonContentType, fmt.Sprintf(body, thing.name)} 557 responses[i] = response{200, jsonContentType, fmt.Sprintf(body, tt.name, tt.fieldName)} [all …]
|
H A D | volumes_test.go | 26 ts := newTestServer(response{200, jsonContentType, ` 46 ts := newTestServer(response{200, jsonContentType, ` 139 ts := newTestServer(response{431, jsonContentType, `
|
H A D | networks_test.go | 60 ts := newTestServer(response{200, jsonContentType, ` 81 ts := newTestServer(response{200, jsonContentType, ` 102 ts := newTestServer(response{200, jsonContentType, `
|
H A D | security_groups_test.go | 112 ts := newTestServer(response{200, jsonContentType, ` 153 ts := newTestServer(response{200, jsonContentType, `
|
/dports/sysutils/aptly/aptly-1.4.0/vendor/github.com/gin-gonic/gin/render/ |
H A D | json.go | 22 var jsonContentType = []string{"application/json; charset=utf-8"} var 32 writeContentType(w, jsonContentType) 36 writeContentType(w, jsonContentType) 56 writeContentType(w, jsonContentType)
|
/dports/www/bolt/bolt-2.2.24/vendor/guzzle/guzzle/src/Guzzle/Service/Command/LocationVisitor/Request/ |
H A D | JsonVisitor.php | 15 protected $jsonContentType = 'application/json'; variable in Guzzle\\Service\\Command\\LocationVisitor\\Request\\JsonVisitor 35 $this->jsonContentType = $header; 55 if ($this->jsonContentType && !$request->hasHeader('Content-Type')) { 56 $request->setHeader('Content-Type', $this->jsonContentType);
|
/dports/www/grafana8/grafana-8.3.6/vendor/go.opentelemetry.io/collector/receiver/otlpreceiver/ |
H A D | otlp.go | 41 jsonContentType = "application/json" const 202 handleTraces(resp, req, jsonContentType, r.traceReceiver, tracesJSONUnmarshaler) 203 }).Methods(http.MethodPost).Headers("Content-Type", jsonContentType) 206 handleTraces(resp, req, jsonContentType, r.traceReceiver, tracesJSONUnmarshaler) 207 }).Methods(http.MethodPost).Headers("Content-Type", jsonContentType) 225 handleMetrics(resp, req, jsonContentType, r.metricsReceiver, metricsJSONUnmarshaler) 226 }).Methods(http.MethodPost).Headers("Content-Type", jsonContentType) 244 handleLogs(w, req, jsonContentType, r.logReceiver, logsJSONUnmarshaler) 245 }).Methods(http.MethodPost).Headers("Content-Type", jsonContentType)
|
/dports/net/rospo/rospo-0.7.1/vendor/github.com/gin-gonic/gin/render/ |
H A D | json.go | 49 var jsonContentType = []string{"application/json; charset=utf-8"} var 63 writeContentType(w, jsonContentType) 68 writeContentType(w, jsonContentType) 90 writeContentType(w, jsonContentType) 114 writeContentType(w, jsonContentType) 192 writeContentType(w, jsonContentType)
|
/dports/net/rospo/rospo-0.7.1/vendor/github.com/gin-gonic/gin/gin-1.7.4/render/ |
H A D | json.go | 49 var jsonContentType = []string{"application/json; charset=utf-8"} var 63 writeContentType(w, jsonContentType) 68 writeContentType(w, jsonContentType) 90 writeContentType(w, jsonContentType) 114 writeContentType(w, jsonContentType) 192 writeContentType(w, jsonContentType)
|
/dports/www/mirrorselect/mirrorselect-0.9.0/vendor/github.com/gin-gonic/gin/render/ |
H A D | json.go | 52 var jsonContentType = []string{"application/json; charset=utf-8"} var 66 writeContentType(w, jsonContentType) 71 writeContentType(w, jsonContentType) 93 writeContentType(w, jsonContentType) 117 writeContentType(w, jsonContentType) 195 writeContentType(w, jsonContentType)
|
/dports/databases/go-pgweb/pgweb-0.11.7/vendor/github.com/gin-gonic/gin/render/ |
H A D | json.go | 40 var jsonContentType = []string{"application/json; charset=utf-8"} var 52 writeContentType(w, jsonContentType) 56 writeContentType(w, jsonContentType) 76 writeContentType(w, jsonContentType) 94 writeContentType(w, jsonContentType)
|
/dports/security/vault/vault-1.8.2/vendor/gopkg.in/resty.v1/ |
H A D | resty_test.go | 134 w.Header().Set(hdrContentTypeKey, jsonContentType) 195 w.Header().Set(hdrContentTypeKey, jsonContentType) 243 w.Header().Set(hdrContentTypeKey, jsonContentType) 252 w.Header().Set(hdrContentTypeKey, jsonContentType) 394 w.Header().Set(hdrContentTypeKey, jsonContentType) 417 w.Header().Set(hdrContentTypeKey, jsonContentType) 475 w.Header().Set(hdrContentTypeKey, jsonContentType)
|
H A D | request_test.go | 123 c.SetHeader(hdrContentTypeKey, jsonContentType). 124 …y: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) go-resty v0.1", hdrAcceptKey: jsonContentType}) 151 c.SetHeader(hdrContentTypeKey, jsonContentType). 152 …y: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) go-resty v0.7", hdrAcceptKey: jsonContentType}) 169 c.SetHeader(hdrContentTypeKey, jsonContentType) 191 SetHeader(hdrContentTypeKey, jsonContentType). 234 SetHeader(hdrContentTypeKey, jsonContentType). 257 SetHeader(hdrContentTypeKey, jsonContentType). 818 SetHeaders(map[string]string{hdrContentTypeKey: jsonContentType, hdrAcceptKey: jsonContentType}).
|
H A D | util.go | 40 contentType = jsonContentType 47 contentType = jsonContentType
|
/dports/misc/chrono/chrono-1.1.0-4-g70cda7f/vendor/gopkg.in/resty.v1/ |
H A D | resty_test.go | 132 w.Header().Set(hdrContentTypeKey, jsonContentType) 193 w.Header().Set(hdrContentTypeKey, jsonContentType) 241 w.Header().Set(hdrContentTypeKey, jsonContentType) 250 w.Header().Set(hdrContentTypeKey, jsonContentType) 392 w.Header().Set(hdrContentTypeKey, jsonContentType) 415 w.Header().Set(hdrContentTypeKey, jsonContentType) 473 w.Header().Set(hdrContentTypeKey, jsonContentType)
|
H A D | request_test.go | 123 c.SetHeader(hdrContentTypeKey, jsonContentType). 124 …y: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) go-resty v0.1", hdrAcceptKey: jsonContentType}) 151 c.SetHeader(hdrContentTypeKey, jsonContentType). 152 …y: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) go-resty v0.7", hdrAcceptKey: jsonContentType}) 169 c.SetHeader(hdrContentTypeKey, jsonContentType) 191 SetHeader(hdrContentTypeKey, jsonContentType). 212 SetHeader(hdrContentTypeKey, jsonContentType). 235 SetHeader(hdrContentTypeKey, jsonContentType). 760 SetHeaders(map[string]string{hdrContentTypeKey: jsonContentType, hdrAcceptKey: jsonContentType}).
|
H A D | util.go | 40 contentType = jsonContentType 47 contentType = jsonContentType
|
/dports/sysutils/sensu-go/sensu-go-5.11.1/vendor/github.com/go-resty/resty/ |
H A D | util.go | 37 contentType = jsonContentType 44 contentType = jsonContentType
|
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/consul/vendor/gopkg.in/resty.v1/ |
H A D | util.go | 40 contentType = jsonContentType 47 contentType = jsonContentType
|