mozilla / page-metadata-service

DEPRECATED - A RESTful service that returns the metadata about a given URL.
Mozilla Public License 2.0
19 stars 8 forks source link

Return HTTP status code with payload #81

Closed jaredlockhart closed 2 years ago

jaredlockhart commented 8 years ago

We should explicitly return the http status code to the caller to know that a URL was unreachable and therefore unparseable.

pdehaan commented 8 years ago

Ref: https://github.com/mozilla/page-metadata-parser/issues/56#issuecomment-242474154