3 ms·
When you query for an inexistent postal code (i.e. http://zip.elevenbasetwo.com/?zip=101 http://zip.elevenbasetwo.com/?zip=101) the page returns "404" as conte
by gbaygon 15y ago
When you query for an inexistent postal code (i.e. http://zip.elevenbasetwo.com/?zip=101 http://zip.elevenbasetwo.com/?zip=101)
the page returns "404" as content but the response header is "200 OK".
That is inconvenient, and RESTfully wrong.
UPDATE: added pull request https://github.com/gbaygon/ziptastic/commit/7284cb2e4f8631616aa5bd79f6f3804e6c7a176c https://github.com/gbaygon/ziptastic/commit/7284cb2e4f863161...