Skip to content

Commit

Permalink
Merge branch 'master' into ajenti-3-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
kiarn committed Nov 22, 2022
2 parents 07f37c1 + 94472f6 commit 44b141b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ajenti-core/aj/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def __init__(self, env, start_response=None):
self.method = self.env['REQUEST_METHOD'].upper()

self.env.setdefault('QUERY_STRING', '')
if self.method in ['POST', 'PUT']:
if self.method in ['POST', 'PUT', 'PATCH']:
ctype = self.env.get('CONTENT_TYPE', 'application/x-www-form-urlencoded')
if 'wsgi.input' in self.env:
self.body = self.env['wsgi.input'].read()
Expand Down

0 comments on commit 44b141b

Please sign in to comment.