google / safebrowsing

Safe Browsing API Go Client
Apache License 2.0
470 stars 129 forks source link

sbserver: parse Content-Type before comparing #99

Closed nopjmp closed 5 years ago

nopjmp commented 5 years ago

Fixes issue where Content-Type is application/json; charset=utf-8 This caused the mimetype switch not fail unexpectedly.

googlebot commented 5 years ago

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

ℹ️ Googlers: Go here for more info.

nopjmp commented 5 years ago

I signed it!

googlebot commented 5 years ago

CLAs look good, thanks!

ℹ️ Googlers: Go here for more info.

colonelxc commented 5 years ago

Thanks for the fix!