Lines Matching refs:headerContentType
105 headerContentType := r.Header.Get("Content-Type")
106 if headerContentType != "application/x-www-form-urlencoded" {
107 t.Errorf("Unexpected Content-Type header %q", headerContentType)
149 headerContentType := r.Header.Get("Content-Type")
150 if headerContentType != "application/x-www-form-urlencoded" {
151 t.Errorf("Unexpected Content-Type header, %v is found.", headerContentType)
195 headerContentType := r.Header.Get("Content-Type")
196 if headerContentType != "application/x-www-form-urlencoded" {
197 t.Errorf("Unexpected Content-Type header, %v is found.", headerContentType)
394 headerContentType := r.Header.Get("Content-Type")
396 if headerContentType != expected {
397 t.Errorf("Content-Type header = %q; want %q", headerContentType, expected)
438 headerContentType := r.Header.Get("Content-Type")
439 if headerContentType != "application/x-www-form-urlencoded" {
440 t.Errorf("Unexpected Content-Type header %q", headerContentType)
463 headerContentType := r.Header.Get("Content-Type")
464 if headerContentType != "application/x-www-form-urlencoded" {
465 t.Errorf("Unexpected Content-Type header, %v is found.", headerContentType)