The program for deleting requests is not current




















It requests that the origin server delete the resource identified by the Request-URL. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Ask Question. Asked 9 years, 4 months ago. Active 2 months ago. Viewed k times. Improve this question. TylerH Rupesh Patel Rupesh Patel 2, 5 5 gold badges 22 22 silver badges 46 46 bronze badges.

My humble opinion Najzero yes I am extremely happy without them : but need some answer on why they are there?? See also stackoverflow. Add a comment. Active Oldest Votes. The client cannot be guaranteed that the operation has been carried out, even if the status code returned from the origin server indicates that the action has been completed successfully … PUT is for putting or updating a resource on the server: The PUT method requests that the enclosed entity be stored under the supplied Request-URI.

Improve this answer. Community Bot 1 1 1 silver badge. Gordon Gordon k 69 69 gold badges silver badges bronze badges. And as long as that isn't supported out of the box, you have to go through hoops to make it work.

It's one of the major fails of browser vendors. That is in the design HTML. The browser displays an empty page unless you write some HTML. Yes, perhaps we have to disagree. Disagreeing is ok! And that's why we use standards. Show 6 more comments. Hope this helps! Limeni Limeni 4, 7 7 gold badges 28 28 silver badges 33 33 bronze badges. If you do this, your very next search will be for " How to have multiple Post actions in a single controller " :P. Not that this is awful, but you loose the ability to have a unique resource be implemented via the verb action as opposed to having to explicitly provide the action name in the URI.

Bogdan Bogdan 1, 24 24 silver badges 35 35 bronze badges. Reasonable arguments but the semantics of dedicated methods for actions outweighs the 'convenience' of naming methods via the URL.

I made some of these changes. I don't have the time tonight to research it, but I'll tag this issue for this weekend. However, most existing user agent implementations treat as if it were a response, performing a GET on the Location field-value regardless of the original request method. The status codes and have been added for servers that wish to make unambiguously clear which kind of reaction is expected of the client.

Based on that, plus the expected purpose of never contact this URI again, always go to the moved one , suggests that maybe the same verb should be maintained.

Ok, I think this is something we should do, but it's a backward incompatible change. Makes it a pain to implement in a point release. I'll tentatively schedule for 3. X if that day ever comes. Lukasa I guess it is backwards incompatible but this behaviour is extraordinarily wrong.

I doubt there is anyone actually relying on this behaviour so we should be safe fixing it. Mmm, I'm less convinced. I certainly don't want to slip this into a bugfix release, it'd definitely have to go into 2.

I bet there are people working around this behaviour. Working around it means that if we fix it we'll improve their lives sooner rather than later.

And I should have been more explicit that I didn't imagine it in anything other than 2. Conform as much as is possible and sensible, but when there are grey lines that can benefit the user or code do it. From their investigation, the state of play on a two years ago was as follows:. Not sure about Safari, but it's reasonable to assume that it's playing along with Chrome and Firefox. Given that this is what everyone else is doing, it's what we shall do as well. For future reference, a useful StackOverflow question is here.

Lukasa just to be clear, when you say " was rewritten to GET", do you mean all verbs that receive a are rewritten to a GET? That's the only explanation that makes sense to me given how IE behaves. Thanks for digging in and getting the right answer here.

Yeah, that's what I mean. Skip to content. Star New issue. Jump to bottom. Labels Fixed. Milestone 2. Copy link. Asked 3 years, 7 months ago. Active 3 years, 7 months ago. Viewed 2k times.

I'm trying to put an "delele request" in my project but is not working Improve this question. Mauricio Renan. Mauricio Renan Mauricio Renan 55 7 7 bronze badges.

Can you please post whole error code? Can you check your network tab in developers tool, You probably had error? Show 2 more comments. Active Oldest Votes. Improve this answer. Yes, all these imports: — Mauricio Renan.

MauricioRenan Just updated the answer, please give that a go — user I didn't understand How can I change the response to text? Show 9 more comments. Prajval M Prajval M 2, 10 10 silver badges 29 29 bronze badges.



0コメント

  • 1000 / 1000