On 6/9/17, Stephan Beal <[email protected]> wrote:
>
> Perhaps name_to_typed_rid() should set it to 404 IF running in [non-json]
> http mode? (For JSON, the API currently returns 200 everywhere and uses its
> own error codes to report what went wrong. That behaviour is arguable but
> consistent.)

Perhaps /tarball and /zip are special in the sense that they are often
accessed by scripts.  Probably webpages that deliver content for
rendering on browser screens do not care as much about the status
code.

Anyhow, I did patch of /tarball and /zip.  See check-in
https://www.fossil-scm.org/fossil/info/a10fc448ed3fce51

-- 
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to