News for hackers. Stuff that matters.
Re:Complete Noobs Guide to Hacking Nginx by jrockway on Wednesday December 29, 2010 @07:43AM (#2048562)
Browsers?
Re:Complete Noobs Guide to Hacking Nginx by schmichael on Wednesday December 29, 2010 @02:37PM (#2049885)
The good news is that browsers aren't the issue for us at Urban Airship. The bad news is that it's worse: it's an infinite number of HTTP libraries of varying quality that hit our API. Some from pretty much every imaginable platform capable of HTTP: from mobile devices to VBA in Microsoft Access:

http://help.urbanairship.com/discussions/questions/161-using...

If the HTTP standard allows it, we probably need to support it (or degrade in a standards compliant way) because someone will try to use it.

Re:Complete Noobs Guide to Hacking Nginx by BrandonM on Wednesday December 29, 2010 @08:23AM (#2048615)
If this is the case, I think the article could have made it more clear that the problem was with software not under the author's control. All the article mentions is "the application registering the device," and I assumed that it was their application which was not sending the header. So a browser won't send a Content-Length header for a PUT request if there is no body?

I'm not criticizing the article itself; it was a nice beginner guide to making quick changes to an existing C project. My only criticism is that the first step when considering whether to make a change to a code base is to fully evaluate whether that change is appropriate, if it is fixing the problem in the right place. Perhaps the author did this and the article simply failed to mention it.

Re:Complete Noobs Guide to Hacking Nginx by riffraff on Wednesday December 29, 2010 @09:16AM (#2048719)
do browser support put at all?
Re:Complete Noobs Guide to Hacking Nginx by dowskitest on Wednesday December 29, 2010 @09:29AM (#2048746)
Yes. Most browsers support all of the HTTP methods via the XmlHttpRequest object.

http://annevankesteren.nl/2007/10/http-method-support