News for hackers. Stuff that matters.
Re:Why Facebook's 'Frictionless Sharing' violates HTTP by skrebbel on Sunday September 25, 2011 @12:58PM (#3036142)
This article is so typically dork-disconnected-from-world that it's a bit sad, really.

Any site that uses SOAP violates HTTP (use POST also for GET-style requests). Any site that has delete links (as opposed to buttons) violate HTTP (barring onclick ajax action, that is). The big mega bucketload of sites violating HTTP this way (GET having severe side effects) is the very reason offline browsing and prefetching never took off much. Every site that uses comet very much violates HTTP.

This is no "message to the future to Mark Zuckerberg". It's just using the available tools for the job to their limits.

Note, I'm just as much against the whole frictionless sharing thing as most people here. But the moment we allow geek nonsense like this to overtake the real arguments is the moment the world will stop taking it seriously. This is what happened to the net neutrality debate ("net neutrality"? who made up that term? how will i ever make my mom care about that?), let's not let it happen here.

Re:Why Facebook's 'Frictionless Sharing' violates HTTP by almost on Sunday September 25, 2011 @02:28PM (#3036389)
I agree with the rest of your comment but using SOAP-with-GET and non-javascript delete links as examples is a terrible argument. They're both stupid stupid ideas and can lead to bad things precisely because they violate HTTP. Comet is also a horrible hack but sometimes horrible hacks are needed.

But yeah, "it violates HTTP!" is hardly the best argument against "frictionless sharing" :)

Re:Why Facebook's 'Frictionless Sharing' violates HTTP by thom on Sunday September 25, 2011 @01:55PM (#3036287)
It's the engineer equivalent of designers who browse the entire web in View Source mode, looking for reasons to get angry about someone's HTML.
Re:Why Facebook's 'Frictionless Sharing' violates HTTP by rberdeen on Sunday September 25, 2011 @01:42PM (#3036251)
Agreed. I can't imagine that any meaningful percentage of Facebook users care about the HTTP spec.

JavaScript in modern web apps has made the distinction between GET and other HTTP methods irrelevant to users. Simply changing these "frictionless sharing" apps to use POST instead of GET doesn't address anyone's concerns.

Re:Why Facebook's 'Frictionless Sharing' violates HTTP by dcosson on Sunday September 25, 2011 @05:16PM (#3036758)
Using POST would probably make non-geeks even more uneasy about this - i.e. if you try to reload an article you're reading and chrome gives you the ('are you sure you want to resend this content?') pop-up that you're used to seeing when you submit a form, I think any frequent web user would find that strange. Using GET instead (breaking HTTP protocol) lets them slip this by people unnoticed, and I agree with the OP that this is at least worth thinking about.

That said, at least FB requires you to approve this. Ads have been doing this kind of thing for a while now, and i'm not sure how I feel about it (I recently was browsing for pictures on art.com and didn't end up buying anything, but for the next month everywhere I went on the web was showing me the exact pictures I had been browsing).

Re:Why Facebook's 'Frictionless Sharing' violates HTTP by cousin_it on Sunday September 25, 2011 @02:17PM (#3036358)
Implementing "frictionless sharing" with POST doesn't look trivial to me, because browsers treat cross-domain POST requests more strictly than GET.
Re:Why Facebook's 'Frictionless Sharing' violates HTTP by fleitz on Monday September 26, 2011 @12:04AM (#3037601)
The javascript would just have to create a form and submit it. Not a big problem at all. Alternatively, create an iframe in which the form is autosubmitted via javascript.
Re:Why Facebook's 'Frictionless Sharing' violates HTTP by cousin_it on Monday September 26, 2011 @08:09AM (#3038493)
Doesn't that break the back button, making it no longer "frictionless"?
Re:Why Facebook's 'Frictionless Sharing' violates HTTP by wycats on Sunday September 25, 2011 @06:55PM (#3036959)
What makes you think that? CSRF vulnerabilities are possible precisely because cross-domain POST requests can be created without violating the cross-domain policy.
Re:Why Facebook's 'Frictionless Sharing' violates HTTP by nakkiel on Sunday September 25, 2011 @02:39PM (#3036414)
What do you propose then?

The author points to something that we're going to loose (or perhaps that we already lost). Now, ads are the only nasty thing that break the guaranty of side-effect-free GET requests. And this is the only thing that matters for geeks and non geeks.

A human-oriented rant would say: "When you visit a page, you don't have to worry about other parties knowing it because it's guaranteed that way. This is about to change. Act now." As far as I'm concerned, it means the same thing. This is HN, not TechCrunch..

Re:Why Facebook's 'Frictionless Sharing' violates HTTP by brown9-2 on Sunday September 25, 2011 @05:12PM (#3036748)
"When you visit a page, you don't have to worry about other parties knowing it because it's guaranteed that way. This is about to change. Act now."

I'm not sure if you only mean "your friends" when you say "other parties", but there are plenty of people that already know when you visit a site (ad-tracking).

Besides, "it violates http get" is still a horrible argument.

Re:Why Facebook's 'Frictionless Sharing' violates HTTP by kposehn on Sunday September 25, 2011 @01:17PM (#3036185)
> Note, I'm just as much against the whole frictionless sharing thing as most people here. But the moment we allow geek nonsense like this to overtake the real arguments is the moment the world will stop taking it seriously. This is what happened to the net neutrality debate ("net neutrality"? who made up that term? how will i ever make my mom care about that?), let's not let it happen here.

Well said! I'm not against frictionless sharing myself (different can of worms, not for this thread) but I'm glad to see another person look at this objectively.

Re:Why Facebook's 'Frictionless Sharing' violates HTTP by fleitz on Monday September 26, 2011 @12:02AM (#3037598)
God forbid this guy figures out that Google changes their search results based on GET requests.