cybergoof
cybergoof

Reputation: 1437

What does a return of 204 in Google SafeBrowsing mean?

If I send a request to Google SafeBrowsing for domain http://microsoft.com and the return code is 204, (correct URL but no return data), does that mean that the domain is "Good"? Or "Unknown"? Or "Not Bad"?

The documentation is not clear.

Thanks

Upvotes: 2

Views: 564

Answers (1)

bobbyg603
bobbyg603

Reputation: 3840

From Wikipedia

204 No Content
The server successfully processed the request, but is not returning any content.
Usually used as a response to a successful delete request

200 level responses all indicate success of some sort. After looking at the Google documentation it appears that a 204 response means that the site is legitimate and not a phishing or malware site.

Upvotes: 2

Related Questions