• Home
  • Raw
  • Download

Lines Matching refs:headers

45     headers = {}
50 headers, unused_params, query, body = model.request(
51 headers, path_params, query_params, body)
53 self.assertEqual(headers['accept'], 'application/json')
54 self.assertTrue('content-type' not in headers)
61 headers = {}
66 headers, unused_params, query, body = model.request(
67 headers, path_params, query_params, body)
69 self.assertEqual(headers['accept'], 'application/json')
70 self.assertEqual(headers['content-type'], 'application/json')
77 headers = {}
82 headers, unused_params, query, body = model.request(
83 headers, path_params, query_params, body)
85 self.assertEqual(headers['accept'], 'application/json')
86 self.assertEqual(headers['content-type'], 'application/json')
94 headers = {}
99 headers, unused_params, query, body = model.request(
100 headers, path_params, query_params, body)
102 self.assertEqual(headers['accept'], 'application/json')
103 self.assertEqual(headers['content-type'], 'application/json')
110 headers = {}
117 headers, unused_params, query, body = model.request(
118 headers, path_params, query_params, body)
120 self.assertEqual(headers['accept'], 'application/json')
121 self.assertEqual(headers['content-type'], 'application/json')
138 headers = {'user-agent': 'my-test-app/1.23.4'}
143 headers, unused_params, unused_query, body = model.request(
144 headers, path_params, query_params, body)
146 self.assertEqual(headers['user-agent'],
153 headers = {'x-goog-api-client': 'gccl/1.23.4'}
158 headers, unused_params, unused_query, body = model.request(
159 headers, path_params, query_params, body)
161 self.assertEqual(headers['x-goog-api-client'],