snickwhy / poster-extension

Automatically exported from code.google.com/p/poster-extension
0 stars 0 forks source link

PUT method does a POST #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. type in a URL
2. select PUT
3. send the request
4. note that output window shows that POST was used instead of PUT

What is the expected output? What do you see instead?
expected PUT method to be used instead of POST

What version of the product are you using? On what operating system?
1.7, mac osx

Please provide any additional information below.
this bug is not present in v1.6.1

Thanks for the poster tool.  It is totally awesome.

Original issue reported on code.google.com by pickupje...@gmail.com on 20 Jun 2008 at 6:24

GoogleCodeExporter commented 8 years ago
MEDIUM? Dear god, I need to PUT.

Original comment by davec...@gmail.com on 23 Jun 2008 at 9:42

GoogleCodeExporter commented 8 years ago
I see exactly the same behaviour on windows. This makes the tool useless for me.
Especially since th previous version worked! You've obviously just tied the 
wrong
action to the PUT in the drop-down.

I agree this should be higher priority than a medium.

Original comment by michael....@gmail.com on 23 Jun 2008 at 10:29

GoogleCodeExporter commented 8 years ago
Same thing here, PUT is POSTing for me

Original comment by wmreba...@gmail.com on 23 Jun 2008 at 10:51

GoogleCodeExporter commented 8 years ago
Index: poster/src/content/poster.js
===================================================================
--- poster/src/content/poster.js        (revision 10)
+++ poster/src/content/poster.js        (working copy)
@@ -132,7 +132,7 @@
       } else if (method=="POST") {
          this.postURL();
       } else if (method=="PUT") {
-         this.postURL();
+         this.putURL();
       } else if (method=="DELETE") {
          this.deleteURL();
       } else if (method=="HEAD") {

Original comment by paulmcma...@gmail.com on 24 Jun 2008 at 8:21

GoogleCodeExporter commented 8 years ago
verified fix in 1.7.1, thanks

Original comment by paulmcma...@gmail.com on 8 Jul 2008 at 2:20

GoogleCodeExporter commented 8 years ago

Original comment by alexmilo...@gmail.com on 3 Aug 2009 at 2:00