On Wed, Dec 16, 2015 at 3:12 PM, John Gordon <[email protected]> wrote: > In <[email protected]> > [email protected] writes: > >> Bad Request >> b'' > > > That probably means you aren't using one of the recognized methods > (i.e. GET, POST, etc.) > > It doesn't look like you are specifying one of these methods on your > Request object. Try doing that. > > (It works in your browser because it defaults to GET automatically.)
urllib.request.Request also defaults to GET unless the request includes data, in which case it defaults to POST. I would be more inclined to suspect a problem with the stored procedure being called. -- https://mail.python.org/mailman/listinfo/python-list
