Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go back to got #7175

Merged
merged 1 commit into from
Oct 21, 2021
Merged

Go back to got #7175

merged 1 commit into from
Oct 21, 2021

Conversation

chris48s
Copy link
Member

@chris48s chris48s commented Oct 19, 2021

Having tried out a couple of different HTTP clients with a real workload, we've reached a conclusion: Go back to got and double down on it to replace request throughout the codebase.

closes #7123
closes #7124
closes #7167
closes #7168

This reverts commit b209f5c.
@chris48s chris48s added the core Server, BaseService, GitHub auth, Shared helpers label Oct 19, 2021
@shields-ci
Copy link

Warnings
⚠️ This PR modified service code for security-headers but not its test code.
That's okay so long as it's refactoring existing code.
⚠️ This PR modified service code for opm but not its test code.
That's okay so long as it's refactoring existing code.
⚠️ This PR modified service code for mozilla-observatory but not its test code.
That's okay so long as it's refactoring existing code.
Messages
📖 ✨ Thanks for your contribution to Shields, @chris48s!

Generated by 🚫 dangerJS against b1f0baa

@@ -83,7 +83,7 @@ export default class SecurityHeaders extends BaseService {
},
})

const grade = res.headers.get('x-grade')
const grade = res.headers['x-grade']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, see you already ran into the same thing i encountered, sorry i hadn't noticed this before

@chris48s chris48s merged commit 14f64d1 into badges:master Oct 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Server, BaseService, GitHub auth, Shared helpers
Projects
None yet
4 participants