@@ -92,12 +92,12 @@ test('Propagates trace for outgoing http requests', async ({ baseURL }) => {
9292 'http.response.status_text' : { value : 'OK' , type : 'string' } ,
9393 'http.route' : { value : '/test-outgoing-http/:id' , type : 'string' } ,
9494 'http.request.header.accept' : { value : '*/*' , type : 'string' } ,
95- 'http.request.header.accept_encoding ' : { value : 'gzip, deflate' , type : 'string' } ,
96- 'http.request.header.accept_language ' : { value : '*' , type : 'string' } ,
95+ 'http.request.header.accept-encoding ' : { value : 'gzip, deflate' , type : 'string' } ,
96+ 'http.request.header.accept-language ' : { value : '*' , type : 'string' } ,
9797 'http.request.header.connection' : { value : 'keep-alive' , type : 'string' } ,
9898 'http.request.header.host' : { value : 'localhost:3030' , type : 'string' } ,
99- 'http.request.header.sec_fetch_mode ' : { value : 'cors' , type : 'string' } ,
100- 'http.request.header.user_agent ' : { value : 'node' , type : 'string' } ,
99+ 'http.request.header.sec-fetch-mode ' : { value : 'cors' , type : 'string' } ,
100+ 'http.request.header.user-agent ' : { value : 'node' , type : 'string' } ,
101101 } ) ,
102102 } ) ,
103103 ) ;
@@ -134,7 +134,7 @@ test('Propagates trace for outgoing http requests', async ({ baseURL }) => {
134134 'http.request.header.baggage' : { value : expect . any ( String ) , type : 'string' } ,
135135 'http.request.header.connection' : { value : 'keep-alive' , type : 'string' } ,
136136 'http.request.header.host' : { value : expect . any ( String ) , type : 'string' } ,
137- 'http.request.header.sentry_trace ' : {
137+ 'http.request.header.sentry-trace ' : {
138138 value : expect . stringMatching ( / [ a - f 0 - 9 ] { 32 } - [ a - f 0 - 9 ] { 16 } - 1 / ) ,
139139 type : 'string' ,
140140 } ,
@@ -233,12 +233,12 @@ test('Propagates trace for outgoing fetch requests', async ({ baseURL }) => {
233233 'http.response.status_text' : { value : 'OK' , type : 'string' } ,
234234 'http.route' : { value : '/test-outgoing-fetch/:id' , type : 'string' } ,
235235 'http.request.header.accept' : { value : '*/*' , type : 'string' } ,
236- 'http.request.header.accept_encoding ' : { value : 'gzip, deflate' , type : 'string' } ,
237- 'http.request.header.accept_language ' : { value : '*' , type : 'string' } ,
236+ 'http.request.header.accept-encoding ' : { value : 'gzip, deflate' , type : 'string' } ,
237+ 'http.request.header.accept-language ' : { value : '*' , type : 'string' } ,
238238 'http.request.header.connection' : { value : 'keep-alive' , type : 'string' } ,
239239 'http.request.header.host' : { value : expect . any ( String ) , type : 'string' } ,
240- 'http.request.header.sec_fetch_mode ' : { value : 'cors' , type : 'string' } ,
241- 'http.request.header.user_agent ' : { value : 'node' , type : 'string' } ,
240+ 'http.request.header.sec-fetch-mode ' : { value : 'cors' , type : 'string' } ,
241+ 'http.request.header.user-agent ' : { value : 'node' , type : 'string' } ,
242242 } ) ,
243243 } ) ,
244244 ) ;
@@ -274,17 +274,17 @@ test('Propagates trace for outgoing fetch requests', async ({ baseURL }) => {
274274 'user_agent.original' : { value : 'node' , type : 'string' } ,
275275 'http.route' : { value : '/test-inbound-headers/:id' , type : 'string' } ,
276276 'http.request.header.accept' : { value : '*/*' , type : 'string' } ,
277- 'http.request.header.accept_encoding ' : { value : 'gzip, deflate' , type : 'string' } ,
278- 'http.request.header.accept_language ' : { value : '*' , type : 'string' } ,
277+ 'http.request.header.accept-encoding ' : { value : 'gzip, deflate' , type : 'string' } ,
278+ 'http.request.header.accept-language ' : { value : '*' , type : 'string' } ,
279279 'http.request.header.baggage' : { value : expect . any ( String ) , type : 'string' } ,
280280 'http.request.header.connection' : { value : 'keep-alive' , type : 'string' } ,
281281 'http.request.header.host' : { value : expect . any ( String ) , type : 'string' } ,
282- 'http.request.header.sec_fetch_mode ' : { value : 'cors' , type : 'string' } ,
283- 'http.request.header.sentry_trace ' : {
282+ 'http.request.header.sec-fetch-mode ' : { value : 'cors' , type : 'string' } ,
283+ 'http.request.header.sentry-trace ' : {
284284 value : expect . stringMatching ( / [ a - f 0 - 9 ] { 32 } - [ a - f 0 - 9 ] { 16 } - 1 / ) ,
285285 type : 'string' ,
286286 } ,
287- 'http.request.header.user_agent ' : { value : 'node' , type : 'string' } ,
287+ 'http.request.header.user-agent ' : { value : 'node' , type : 'string' } ,
288288 } ) ,
289289 } ) ,
290290 ) ;
0 commit comments