Skip to content

Commit

Permalink
test(http): remove upgrade from 101 response
Browse files Browse the repository at this point in the history
  • Loading branch information
kettanaito committed Nov 15, 2024
1 parent f76885d commit ee76bae
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ const interceptor = new ClientRequestInterceptor()
const httpServer = new HttpServer((app) => {
app.get('/resource', (_req, res) => {
res.writeHead(101, 'Switching Protocols')
res.set('Connection', 'Upgrade')
res.set('Upgrade', 'WebSocket')
res.end()
})
})
Expand Down

0 comments on commit ee76bae

Please sign in to comment.