Export to GitHub

webapp-improved - issue #69

Patch for /webapp2.py


Posted on Oct 27, 2012 by Swift Kangaroo

Add PATCH to WSGIApplication.allowed_methods

Attachments

Comment #1

Posted on Apr 11, 2013 by Grumpy Bird

I also tested this approach and seems to work, would be awesome to have it include in the next release

Comment #2

Posted on Apr 15, 2013 by Happy Rhino

Yes. Pretty please :)

Comment #3

Posted on Aug 2, 2013 by Happy Bird

Please add this for all the BackboneJS developers!

Comment #4

Posted on Aug 2, 2013 by Happy Ox

Until the patch gets applied, the easiest workaround is to subclass webapp.WSGIApplication.

class WSGIApplication(webapp.WSGIApplication):
    allowed_methods = frozenset(('GET', 'POST', 'HEAD', 'OPTIONS', 'PUT',
                                 'DELETE', 'TRACE', 'PATCH'))

Comment #5

Posted on Aug 2, 2013 by Happy Rhino

Or monkey patch an instance

Comment #6

Posted on Aug 2, 2013 by Happy Bird

Thank you gentlemen! That works for me...

Comment #7

Posted on Sep 25, 2013 by Happy Hippo

PATCH, please.

Status: New

Labels:
Type-Patch