From: Christopher Allan Webber <cwebber@dustycloud.org>
To: "Thompson, David" <dthompson2@worcester.edu>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: [PATCH] Add MARS shooter.
Date: Fri, 25 Sep 2015 17:30:53 -0500 [thread overview]
Message-ID: <87oagqrufu.fsf@dustycloud.org> (raw)
In-Reply-To: <CAJ=RwfaVqC3ycfcrJoJDjWuktHj6JqT+vjDiAJpOL_F6ZBc67g@mail.gmail.com>
Thompson, David writes:
> No, upstream needs to fix their invalid Content-Type header. We've
> had this problem a few times, most recently with rubygems.org, and in
> all cases we've gotten upstream to fix it. Strict header parsing can
> seem like an issue at times, but it's really a very good feature that
> the rest of the world seems to ignore. [0]
So this is less about this package itself but rather this general issue
of parsing Content-Type headers, which has come up repeatedly...
"Be conservative in what you do, be liberal in what you accept from
others"... when it comes to the web, we should follow the Robustness
Principle:
https://en.wikipedia.org/wiki/Robustness_principle
It's absolutely true that Guile should enforce producing correct HTTP
requests and responses. But as much as it's irritating as schemers,
probably the ultimate group of "do the right thing" if there ever was
one in the programming world, if we cut off sites that do the
slightly-wrong thing, we're cutting a lot of potential users from a lot
of the web... making Guile a lot less attractive of a language for
scraping, etc...
We should at least provide some sort of option to permit fuzziness, or
to convert incoming http requests to fill in some default value, or etc?
- Chris
next prev parent reply other threads:[~2015-09-25 22:43 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-18 19:25 [PATCH] Add MARS shooter Ricardo Wurmus
2015-09-19 8:25 ` Ricardo Wurmus
2015-09-19 15:44 ` Thompson, David
2015-09-19 20:06 ` Ricardo Wurmus
2015-09-19 20:33 ` Thompson, David
2015-09-20 7:51 ` Ricardo Wurmus
2015-09-20 9:46 ` Ricardo Wurmus
2015-09-25 22:30 ` Christopher Allan Webber [this message]
2015-09-26 13:04 ` Ludovic Courtès
2015-09-19 17:17 ` Eric Bavier
2015-09-20 10:08 ` Ricardo Wurmus
2015-09-20 16:30 ` Version strings for VCS snapshots Ludovic Courtès
2015-09-23 6:13 ` Ricardo Wurmus
2015-09-23 23:35 ` Mark H Weaver
2015-09-24 8:11 ` Andreas Enge
2015-09-24 11:12 ` Ludovic Courtès
2015-09-20 15:49 ` [PATCH] Add MARS shooter Ricardo Wurmus
2015-09-20 20:19 ` Eric Bavier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87oagqrufu.fsf@dustycloud.org \
--to=cwebber@dustycloud.org \
--cc=dthompson2@worcester.edu \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).