New submission from Miki Tebeka <miki.teb...@gmail.com>:

Currently urllib.request.Request decides if it's a "GET" or "POST" by the 
presence of data. However sometimes you want to do an "POST" request without 
data (in my case, it Crucible REST API). Or provide another method. The 
attached patched added a `method` argument to Request __init__.

----------
files: request-method.diff
keywords: patch
messages: 140898
nosy: tebeka
priority: normal
severity: normal
status: open
title: Allow to explicitly set the method of urllib.request.Request
versions: Python 3.2
Added file: http://bugs.python.org/file22717/request-method.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12614>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to