#101 accepted
Michael Mathews

Support PUT and DELETE in glow.net

Reported by Michael Mathews | August 20th, 2009 @ 10:37 AM | in 2.0

We should investigate whether this is possible or not. YUI support it through their YAHOO.util.Connect.asyncRequest but note that browser support is not complete for their A browsers.

Comments and changes to this ticket

  • Jake Archibald

    Jake Archibald August 20th, 2009 @ 11:19 AM

    • Milestone changed from 2.0 to 1.7
    • Tag set to enhancement, net
  • Stephen Elson

    Stephen Elson August 21st, 2009 @ 10:39 AM

    • State changed from “new” to “accepted”
  • Stephen Elson

    Stephen Elson August 21st, 2009 @ 10:51 AM

    • Milestone changed from 1.7 to 2.0
  • Gilles Ruppert

    Gilles Ruppert January 20th, 2010 @ 12:09 PM

    Would it be possible to get this into 1.7 if we provide you with a patch & tests? We are relying on it already now & Glow 2 won't be ready in time (apart from it probably breaking our current stuff).

  • Jake Archibald

    Jake Archibald January 20th, 2010 @ 12:20 PM

    Do we have enough proof that proxies don't mess these up?

  • Gilles Ruppert

    Gilles Ruppert January 21st, 2010 @ 10:46 AM

    The only proof we have and ever going to get is that YUI supports it and we have been using it for the past 2 months from both inside & outside Reith.

    It could easily coexist with glow.net.get & glow.net.post. The way we have used it so far was by taking out the glow.net code, and creating a generic send method that can take the method as an argument.

    Having glow.net.put & glow.net.delete would let us do proper RESTful calls to the numerous services we rely on.
    We could always make clear in the documentation that you need to take care when using these methods, but not providing them just leads to people creating their own cowpath.

    If you are worried about support, you could mention the gotchas of delete & put in the documentation, but all the browsers we tested work fine (all the A-level browsers inside & outside Reith).

  • Jake Archibald

    Jake Archibald January 21st, 2010 @ 11:07 AM

    Cool, happy for this to be added

  • Cliff Stanford

    Cliff Stanford February 10th, 2010 @ 04:24 PM

    Gilles, if you already have a patch for this, I'd very much appreciate a copy. Or if Jake's really kind he might bump it into a 1.7.3 version. :)

  • Gilles Ruppert

    Gilles Ruppert February 10th, 2010 @ 05:24 PM

    Cliff, I will work on it this week so I should hopefully have a patch ready by the end of the week. If that all goes well, we hopefully get it into the next glow 1.7.x release

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A JavaScript Library

Shared Ticket Bins